import { SQLWrapper } from "drizzle-orm";
import { Transaction } from "@platform-modules/db";
//#region src/model.d.ts
type ContentStatus = string;
type ContentVisibility = 'public' | 'private' | 'members';
interface TermRef {
  id: string;
  taxonomy: string;
  slug: string;
  name: string;
  parentId: string | null;
  depth: number;
}
interface ContentMediaRef {
  id: string;
  kind?: string;
}
type ContentTemplateKey = string;
type ContentCommentStatus = 'open' | 'closed';
type ContentPingStatus = 'open' | 'closed';
/**
 * Final entry columns introduced by the lossless content-model migration.
 * Canonical public entry shape for the registry-aware lifecycle.
 */
interface ContentEntryCompletion {
  parentId: string | null;
  menuOrder: number;
  templateKey: ContentTemplateKey | null;
  excerpt: string;
  featuredMedia: ContentMediaRef | null;
  commentStatus: ContentCommentStatus;
  pingStatus: ContentPingStatus;
  passwordProtected: boolean;
  sticky: boolean;
  format: string | null;
  deletedAt: Date | null;
  lastEditedBy: string;
  typeDefinitionRevision: number;
  statusDefinitionRevision: number;
}
type ContentEntry = {
  id: string;
  slug: string;
  type: string;
  title: string;
  body: string;
  status: ContentStatus;
  visibility: ContentVisibility;
  publishedAt: Date | null;
  author: string;
  terms: TermRef[];
  createdAt: Date;
  updatedAt: Date;
} & ContentEntryCompletion;
/** Backward-compatible alias retained while downstream packages migrate to the final row name. */
type FinalContentEntry = ContentEntry;
interface ContentTemplateDescriptor {
  key: ContentTemplateKey;
  label: string;
  typeKeys: readonly string[];
  active?: boolean;
  version?: string;
}
interface ContentTemplateRegistry {
  readonly version: string;
  resolve(typeKey: string, key: ContentTemplateKey): ContentTemplateDescriptor | undefined;
  list(typeKey: string): readonly ContentTemplateDescriptor[];
}
interface ContentWriteInput {
  slug: string;
  type: string;
  title: string;
  body: string;
  excerpt?: string;
  visibility?: ContentVisibility;
  author?: string;
  termIds?: string[];
  parentId?: string | null;
  menuOrder?: number;
  templateKey?: ContentTemplateKey | null;
  featuredMedia?: ContentMediaRef | null;
  commentStatus?: ContentCommentStatus;
  pingStatus?: ContentPingStatus;
  sticky?: boolean;
  format?: string | null;
}
type ContentUpdatePatch = Partial<Omit<ContentWriteInput, 'type'>>;
interface ContentPasswordAdapter {
  hash(password: string): Promise<{
    credential: string;
    version: string;
  }>;
  verify(password: string, credential: string): Promise<boolean>;
  needsRehash?(credential: string): Promise<boolean> | boolean;
  issueProof(entryId: string, credentialVersion: string): Promise<string>;
  verifyProof(entryId: string, credentialVersion: string, proof: string): Promise<boolean>;
}
type ProtectedContentRead = {
  access: 'granted';
  entry: ContentEntry;
} | {
  access: 'passwordRequired';
  entry: Omit<ContentEntry, 'body'>;
};
type ContentSchemaSnapshot = Readonly<Record<string, unknown>>;
interface ContentRevision {
  id: string;
  entryId: string;
  seq: number;
  title: string;
  body: string;
  slug: string;
  type: string;
  termIds: string[];
  snapshot?: ContentSchemaSnapshot;
  editor: string;
  createdAt: Date;
}
interface RevisionListQuery {
  /** keyset cursor: return revisions with seq < this. Omit for newest page. */
  before?: number;
  /** page size, clamped (default 20, max 100 — match comments/notifications clamp). */
  limit?: number;
}
interface RevisionPage {
  revisions: ContentRevision[];
  /** seq to pass as `before` for the next page; null when exhausted. */
  nextCursor: number | null;
}
/** Author-supplied write input. `id` present => update an existing entry; absent => create. */
type ContentInput = {
  id?: string;
  slug: string;
  type: string;
  title: string;
  body: string;
  visibility?: ContentVisibility;
  termIds?: string[];
};
type NormalizedContentInput = {
  id: string | null;
  slug: string;
  type: string;
  title: string;
  body: string;
  visibility: ContentVisibility | null;
  termIds: string[] | undefined;
};
/** Typed, contextful boundary error — carries the offending field + why (coding-standard §4). */
declare class ContentValidationError extends Error {
  readonly field: string;
  readonly detail: string;
  readonly name = "ContentValidationError";
  constructor(field: string, detail: string);
}
/**
 * Host-injected HTML sanitizer — REQUIRED on `put`; no default no-op (XSS hard floor).
 * The module owns the contract + enforcement; the host injects a runtime-appropriate engine
 * (DOMPurify-class). Mirrors the `comments` module's `Sanitize` seam.
 */
type Sanitize = (raw: string) => string;
/** Thrown when a write reaches the store without a usable `sanitize` function (fail-closed). */
declare class ContentSanitizationError extends Error {
  readonly name = "ContentSanitizationError";
  constructor(message: string);
}
/**
 * Validator-agnostic boundary normalization (north-star: never bundle a validator).
 * Hand-rolled required-field + format checks; the adopter's own validator runs at the route.
 */
declare function normalizeContentInput(raw: ContentInput): NormalizedContentInput;
//#endregion
//#region src/schema.d.ts
/**
 * The serializable definition payload shared by code, database, import, and
 * immutable-definition records. Registry enforcement lands after the flat
 * corpus migration; this shape deliberately does not interpret a definition.
 */
type ContentSchemaValue = string | number | boolean | null | readonly ContentSchemaValue[] | {
  readonly [key: string]: ContentSchemaValue;
};
type ContentDefinitionOrigin = "code" | "db" | "import";
type ContentDefinitionKind = "type" | "status";
/** Normalized registry identity; keys/origin/revisions are never rewritten. */
interface NormalizedContentRegistryRecord {
  readonly key: string;
  readonly origin: ContentDefinitionOrigin;
  readonly version: number;
  readonly revision: number;
  readonly active: boolean;
  readonly canonicalHash: string;
  readonly definition: ContentSchemaValue;
  readonly shadowedDbVersion?: number;
}
/** An immutable byte-equivalent definition snapshot used by future values/revisions. */
interface ContentDefinitionVersion {
  readonly definitionKind: ContentDefinitionKind;
  readonly definitionKey: string;
  readonly revision: number;
  readonly canonicalHash: string;
  readonly definition: ContentSchemaValue;
  readonly createdAt: Date;
  readonly origin: ContentDefinitionOrigin;
}
/**
 * The pre-migration content_entries shape. `type` and `status` intentionally
 * remain arbitrary strings here: materialization/enforcement is a later wave.
 */
interface FlatContentEntry {
  readonly id: string;
  readonly slug: string;
  readonly type: string;
  readonly title: string;
  readonly body: string;
  readonly status: string;
  readonly visibility: string;
  readonly publishedAt: Date | null;
  readonly author: string;
  readonly createdAt: Date;
  readonly updatedAt: Date;
}
type ContentMigrationAdapter = "d1" | "postgres";
type ContentMigrationPhase = "inventory" | "definitions" | "dual-write" | "backfill" | "parity" | "enforced" | "reverse";
/** Transitional final-column projection while legacy reads remain authoritative. */
interface ContentEntryCompletionRow {
  readonly parentId: string | null;
  readonly menuOrder: number;
  readonly templateKey: string | null;
  readonly excerpt: string;
  readonly featuredMedia: {
    readonly id: string;
    readonly kind?: string;
  } | null;
  readonly commentStatus: "open" | "closed";
  readonly pingStatus: "open" | "closed";
  readonly sticky: boolean;
  readonly format: string | null;
  readonly deletedAt: Date | null;
  readonly lastEditedBy: string;
  readonly typeDefinitionRevision: number;
  readonly statusDefinitionRevision: number;
}
declare const contentTypeDefinitions: import("drizzle-orm/pg-core").PgTableWithColumns<{
  name: "content_type_definitions";
  schema: undefined;
  columns: {
    key: import("drizzle-orm/pg-core").PgColumn<{
      name: "key";
      tableName: "content_type_definitions";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: true;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    origin: import("drizzle-orm/pg-core").PgColumn<{
      name: "origin";
      tableName: "content_type_definitions";
      dataType: "string";
      columnType: "PgText";
      data: ContentDefinitionOrigin;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentDefinitionOrigin;
    }>;
    version: import("drizzle-orm/pg-core").PgColumn<{
      name: "version";
      tableName: "content_type_definitions";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    active: import("drizzle-orm/pg-core").PgColumn<{
      name: "active";
      tableName: "content_type_definitions";
      dataType: "boolean";
      columnType: "PgBoolean";
      data: boolean;
      driverParam: boolean;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    currentRevision: import("drizzle-orm/pg-core").PgColumn<{
      name: "current_revision";
      tableName: "content_type_definitions";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    canonicalHash: import("drizzle-orm/pg-core").PgColumn<{
      name: "canonical_hash";
      tableName: "content_type_definitions";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    definition: import("drizzle-orm/pg-core").PgColumn<{
      name: "definition";
      tableName: "content_type_definitions";
      dataType: "json";
      columnType: "PgJsonb";
      data: ContentSchemaValue;
      driverParam: unknown;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentSchemaValue;
    }>;
    shadowedDbVersion: import("drizzle-orm/pg-core").PgColumn<{
      name: "shadowed_db_version";
      tableName: "content_type_definitions";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    hostSessionId: import("drizzle-orm/pg-core").PgColumn<{
      name: "host_session_id";
      tableName: "content_type_definitions";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    createdAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "created_at";
      tableName: "content_type_definitions";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    updatedAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "updated_at";
      tableName: "content_type_definitions";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
  };
  dialect: "pg";
}>;
declare const contentStatusDefinitions: import("drizzle-orm/pg-core").PgTableWithColumns<{
  name: "content_status_definitions";
  schema: undefined;
  columns: {
    key: import("drizzle-orm/pg-core").PgColumn<{
      name: "key";
      tableName: "content_status_definitions";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: true;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    origin: import("drizzle-orm/pg-core").PgColumn<{
      name: "origin";
      tableName: "content_status_definitions";
      dataType: "string";
      columnType: "PgText";
      data: ContentDefinitionOrigin;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentDefinitionOrigin;
    }>;
    version: import("drizzle-orm/pg-core").PgColumn<{
      name: "version";
      tableName: "content_status_definitions";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    active: import("drizzle-orm/pg-core").PgColumn<{
      name: "active";
      tableName: "content_status_definitions";
      dataType: "boolean";
      columnType: "PgBoolean";
      data: boolean;
      driverParam: boolean;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    currentRevision: import("drizzle-orm/pg-core").PgColumn<{
      name: "current_revision";
      tableName: "content_status_definitions";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    canonicalHash: import("drizzle-orm/pg-core").PgColumn<{
      name: "canonical_hash";
      tableName: "content_status_definitions";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    definition: import("drizzle-orm/pg-core").PgColumn<{
      name: "definition";
      tableName: "content_status_definitions";
      dataType: "json";
      columnType: "PgJsonb";
      data: ContentSchemaValue;
      driverParam: unknown;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentSchemaValue;
    }>;
    shadowedDbVersion: import("drizzle-orm/pg-core").PgColumn<{
      name: "shadowed_db_version";
      tableName: "content_status_definitions";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    hostSessionId: import("drizzle-orm/pg-core").PgColumn<{
      name: "host_session_id";
      tableName: "content_status_definitions";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    createdAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "created_at";
      tableName: "content_status_definitions";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    updatedAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "updated_at";
      tableName: "content_status_definitions";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
  };
  dialect: "pg";
}>;
declare const contentDefinitionVersions: import("drizzle-orm/pg-core").PgTableWithColumns<{
  name: "content_definition_versions";
  schema: undefined;
  columns: {
    definitionKind: import("drizzle-orm/pg-core").PgColumn<{
      name: "definition_kind";
      tableName: "content_definition_versions";
      dataType: "string";
      columnType: "PgText";
      data: ContentDefinitionKind;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentDefinitionKind;
    }>;
    definitionKey: import("drizzle-orm/pg-core").PgColumn<{
      name: "definition_key";
      tableName: "content_definition_versions";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    revision: import("drizzle-orm/pg-core").PgColumn<{
      name: "revision";
      tableName: "content_definition_versions";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    canonicalHash: import("drizzle-orm/pg-core").PgColumn<{
      name: "canonical_hash";
      tableName: "content_definition_versions";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    definition: import("drizzle-orm/pg-core").PgColumn<{
      name: "definition";
      tableName: "content_definition_versions";
      dataType: "json";
      columnType: "PgJsonb";
      data: ContentSchemaValue;
      driverParam: unknown;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentSchemaValue;
    }>;
    origin: import("drizzle-orm/pg-core").PgColumn<{
      name: "origin";
      tableName: "content_definition_versions";
      dataType: "string";
      columnType: "PgText";
      data: ContentDefinitionOrigin;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentDefinitionOrigin;
    }>;
    hostSessionId: import("drizzle-orm/pg-core").PgColumn<{
      name: "host_session_id";
      tableName: "content_definition_versions";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    createdAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "created_at";
      tableName: "content_definition_versions";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
  };
  dialect: "pg";
}>;
declare const contentLifecycleJournal: import("drizzle-orm/pg-core").PgTableWithColumns<{
  name: "content_lifecycle_journal";
  schema: undefined;
  columns: {
    id: import("drizzle-orm/pg-core").PgColumn<{
      name: "id";
      tableName: "content_lifecycle_journal";
      dataType: "string";
      columnType: "PgUUID";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: true;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    operationId: import("drizzle-orm/pg-core").PgColumn<{
      name: "operation_id";
      tableName: "content_lifecycle_journal";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    kind: import("drizzle-orm/pg-core").PgColumn<{
      name: "kind";
      tableName: "content_lifecycle_journal";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    entryId: import("drizzle-orm/pg-core").PgColumn<{
      name: "entry_id";
      tableName: "content_lifecycle_journal";
      dataType: "string";
      columnType: "PgUUID";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    definitionKind: import("drizzle-orm/pg-core").PgColumn<{
      name: "definition_kind";
      tableName: "content_lifecycle_journal";
      dataType: "string";
      columnType: "PgText";
      data: ContentDefinitionKind;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentDefinitionKind;
    }>;
    definitionKey: import("drizzle-orm/pg-core").PgColumn<{
      name: "definition_key";
      tableName: "content_lifecycle_journal";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    definitionRevision: import("drizzle-orm/pg-core").PgColumn<{
      name: "definition_revision";
      tableName: "content_lifecycle_journal";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    state: import("drizzle-orm/pg-core").PgColumn<{
      name: "state";
      tableName: "content_lifecycle_journal";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    payload: import("drizzle-orm/pg-core").PgColumn<{
      name: "payload";
      tableName: "content_lifecycle_journal";
      dataType: "json";
      columnType: "PgJsonb";
      data: ContentSchemaValue;
      driverParam: unknown;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentSchemaValue;
    }>;
    createdAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "created_at";
      tableName: "content_lifecycle_journal";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    updatedAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "updated_at";
      tableName: "content_lifecycle_journal";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
  };
  dialect: "pg";
}>;
declare const contentImportJournal: import("drizzle-orm/pg-core").PgTableWithColumns<{
  name: "content_import_journal";
  schema: undefined;
  columns: {
    importId: import("drizzle-orm/pg-core").PgColumn<{
      name: "import_id";
      tableName: "content_import_journal";
      dataType: "string";
      columnType: "PgUUID";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: true;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    hostSessionId: import("drizzle-orm/pg-core").PgColumn<{
      name: "host_session_id";
      tableName: "content_import_journal";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    manifestHash: import("drizzle-orm/pg-core").PgColumn<{
      name: "manifest_hash";
      tableName: "content_import_journal";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    planHash: import("drizzle-orm/pg-core").PgColumn<{
      name: "plan_hash";
      tableName: "content_import_journal";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    state: import("drizzle-orm/pg-core").PgColumn<{
      name: "state";
      tableName: "content_import_journal";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    version: import("drizzle-orm/pg-core").PgColumn<{
      name: "version";
      tableName: "content_import_journal";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    nextSection: import("drizzle-orm/pg-core").PgColumn<{
      name: "next_section";
      tableName: "content_import_journal";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    nextOffset: import("drizzle-orm/pg-core").PgColumn<{
      name: "next_offset";
      tableName: "content_import_journal";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    highWaterMark: import("drizzle-orm/pg-core").PgColumn<{
      name: "high_water_mark";
      tableName: "content_import_journal";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    payload: import("drizzle-orm/pg-core").PgColumn<{
      name: "payload";
      tableName: "content_import_journal";
      dataType: "json";
      columnType: "PgJsonb";
      data: ContentSchemaValue;
      driverParam: unknown;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentSchemaValue;
    }>;
    createdAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "created_at";
      tableName: "content_import_journal";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    updatedAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "updated_at";
      tableName: "content_import_journal";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
  };
  dialect: "pg";
}>;
declare const contentTombstones: import("drizzle-orm/pg-core").PgTableWithColumns<{
  name: "content_tombstones";
  schema: undefined;
  columns: {
    id: import("drizzle-orm/pg-core").PgColumn<{
      name: "id";
      tableName: "content_tombstones";
      dataType: "string";
      columnType: "PgUUID";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: true;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    entryId: import("drizzle-orm/pg-core").PgColumn<{
      name: "entry_id";
      tableName: "content_tombstones";
      dataType: "string";
      columnType: "PgUUID";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    operationId: import("drizzle-orm/pg-core").PgColumn<{
      name: "operation_id";
      tableName: "content_tombstones";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    typeKey: import("drizzle-orm/pg-core").PgColumn<{
      name: "type_key";
      tableName: "content_tombstones";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    typeDefinitionRevision: import("drizzle-orm/pg-core").PgColumn<{
      name: "type_definition_revision";
      tableName: "content_tombstones";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    statusKey: import("drizzle-orm/pg-core").PgColumn<{
      name: "status_key";
      tableName: "content_tombstones";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    statusDefinitionRevision: import("drizzle-orm/pg-core").PgColumn<{
      name: "status_definition_revision";
      tableName: "content_tombstones";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    snapshot: import("drizzle-orm/pg-core").PgColumn<{
      name: "snapshot";
      tableName: "content_tombstones";
      dataType: "json";
      columnType: "PgJsonb";
      data: ContentSchemaValue;
      driverParam: unknown;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentSchemaValue;
    }>;
    deletedAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "deleted_at";
      tableName: "content_tombstones";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
  };
  dialect: "pg";
}>;
declare const contentMigrationCheckpoints: import("drizzle-orm/pg-core").PgTableWithColumns<{
  name: "content_migration_checkpoints";
  schema: undefined;
  columns: {
    migrationId: import("drizzle-orm/pg-core").PgColumn<{
      name: "migration_id";
      tableName: "content_migration_checkpoints";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    adapter: import("drizzle-orm/pg-core").PgColumn<{
      name: "adapter";
      tableName: "content_migration_checkpoints";
      dataType: "string";
      columnType: "PgText";
      data: ContentMigrationAdapter;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentMigrationAdapter;
    }>;
    phase: import("drizzle-orm/pg-core").PgColumn<{
      name: "phase";
      tableName: "content_migration_checkpoints";
      dataType: "string";
      columnType: "PgText";
      data: ContentMigrationPhase;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentMigrationPhase;
    }>;
    batchOrdinal: import("drizzle-orm/pg-core").PgColumn<{
      name: "batch_ordinal";
      tableName: "content_migration_checkpoints";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    version: import("drizzle-orm/pg-core").PgColumn<{
      name: "version";
      tableName: "content_migration_checkpoints";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    lastKey: import("drizzle-orm/pg-core").PgColumn<{
      name: "last_key";
      tableName: "content_migration_checkpoints";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    sourceCount: import("drizzle-orm/pg-core").PgColumn<{
      name: "source_count";
      tableName: "content_migration_checkpoints";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    targetCount: import("drizzle-orm/pg-core").PgColumn<{
      name: "target_count";
      tableName: "content_migration_checkpoints";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    sourceHash: import("drizzle-orm/pg-core").PgColumn<{
      name: "source_hash";
      tableName: "content_migration_checkpoints";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    targetHash: import("drizzle-orm/pg-core").PgColumn<{
      name: "target_hash";
      tableName: "content_migration_checkpoints";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    highWaterMark: import("drizzle-orm/pg-core").PgColumn<{
      name: "high_water_mark";
      tableName: "content_migration_checkpoints";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    createdAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "created_at";
      tableName: "content_migration_checkpoints";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    updatedAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "updated_at";
      tableName: "content_migration_checkpoints";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
  };
  dialect: "pg";
}>;
declare const contentMigrationWriteJournal: import("drizzle-orm/pg-core").PgTableWithColumns<{
  name: "content_migration_write_journal";
  schema: undefined;
  columns: {
    seq: import("drizzle-orm/pg-core").PgColumn<{
      name: "seq";
      tableName: "content_migration_write_journal";
      dataType: "number";
      columnType: "PgBigSerial53";
      data: number;
      driverParam: number;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: true;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    migrationId: import("drizzle-orm/pg-core").PgColumn<{
      name: "migration_id";
      tableName: "content_migration_write_journal";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    operation: import("drizzle-orm/pg-core").PgColumn<{
      name: "operation";
      tableName: "content_migration_write_journal";
      dataType: "string";
      columnType: "PgText";
      data: "insert" | "update" | "delete";
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: "insert" | "update" | "delete";
    }>;
    entryId: import("drizzle-orm/pg-core").PgColumn<{
      name: "entry_id";
      tableName: "content_migration_write_journal";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    beforeValue: import("drizzle-orm/pg-core").PgColumn<{
      name: "before_value";
      tableName: "content_migration_write_journal";
      dataType: "json";
      columnType: "PgJsonb";
      data: ContentSchemaValue;
      driverParam: unknown;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentSchemaValue;
    }>;
    afterValue: import("drizzle-orm/pg-core").PgColumn<{
      name: "after_value";
      tableName: "content_migration_write_journal";
      dataType: "json";
      columnType: "PgJsonb";
      data: ContentSchemaValue;
      driverParam: unknown;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentSchemaValue;
    }>;
    createdAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "created_at";
      tableName: "content_migration_write_journal";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
  };
  dialect: "pg";
}>;
declare const contentEntries: import("drizzle-orm/pg-core").PgTableWithColumns<{
  name: "content_entries";
  schema: undefined;
  columns: {
    id: import("drizzle-orm/pg-core").PgColumn<{
      name: "id";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgUUID";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: true;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    slug: import("drizzle-orm/pg-core").PgColumn<{
      name: "slug";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    type: import("drizzle-orm/pg-core").PgColumn<{
      name: "type";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    title: import("drizzle-orm/pg-core").PgColumn<{
      name: "title";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    body: import("drizzle-orm/pg-core").PgColumn<{
      name: "body";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    status: import("drizzle-orm/pg-core").PgColumn<{
      name: "status";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: string;
    }>;
    visibility: import("drizzle-orm/pg-core").PgColumn<{
      name: "visibility";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: ContentVisibility;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentVisibility;
    }>;
    publishedAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "published_at";
      tableName: "content_entries";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    author: import("drizzle-orm/pg-core").PgColumn<{
      name: "author";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    createdAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "created_at";
      tableName: "content_entries";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    updatedAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "updated_at";
      tableName: "content_entries";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: true;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    parentId: import("drizzle-orm/pg-core").PgColumn<{
      name: "parent_id";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgUUID";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    menuOrder: import("drizzle-orm/pg-core").PgColumn<{
      name: "menu_order";
      tableName: "content_entries";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    templateKey: import("drizzle-orm/pg-core").PgColumn<{
      name: "template_key";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    excerpt: import("drizzle-orm/pg-core").PgColumn<{
      name: "excerpt";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    featuredMedia: import("drizzle-orm/pg-core").PgColumn<{
      name: "featured_media";
      tableName: "content_entries";
      dataType: "json";
      columnType: "PgJsonb";
      data: ContentMediaRef;
      driverParam: unknown;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentMediaRef;
    }>;
    commentStatus: import("drizzle-orm/pg-core").PgColumn<{
      name: "comment_status";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: ContentCommentStatus;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentCommentStatus;
    }>;
    pingStatus: import("drizzle-orm/pg-core").PgColumn<{
      name: "ping_status";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: ContentPingStatus;
      driverParam: string;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {
      $type: ContentPingStatus;
    }>;
    sticky: import("drizzle-orm/pg-core").PgColumn<{
      name: "sticky";
      tableName: "content_entries";
      dataType: "boolean";
      columnType: "PgBoolean";
      data: boolean;
      driverParam: boolean;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    format: import("drizzle-orm/pg-core").PgColumn<{
      name: "format";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    deletedAt: import("drizzle-orm/pg-core").PgColumn<{
      name: "deleted_at";
      tableName: "content_entries";
      dataType: "date";
      columnType: "PgTimestamp";
      data: Date;
      driverParam: string;
      notNull: false;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    lastEditedBy: import("drizzle-orm/pg-core").PgColumn<{
      name: "last_edited_by";
      tableName: "content_entries";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    typeDefinitionRevision: import("drizzle-orm/pg-core").PgColumn<{
      name: "type_definition_revision";
      tableName: "content_entries";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    statusDefinitionRevision: import("drizzle-orm/pg-core").PgColumn<{
      name: "status_definition_revision";
      tableName: "content_entries";
      dataType: "number";
      columnType: "PgInteger";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
  };
  dialect: "pg";
}>;
declare const contentSchema: {
  contentEntries: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_entries";
    schema: undefined;
    columns: {
      id: import("drizzle-orm/pg-core").PgColumn<{
        name: "id";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: true;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      slug: import("drizzle-orm/pg-core").PgColumn<{
        name: "slug";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      type: import("drizzle-orm/pg-core").PgColumn<{
        name: "type";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      title: import("drizzle-orm/pg-core").PgColumn<{
        name: "title";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      body: import("drizzle-orm/pg-core").PgColumn<{
        name: "body";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      status: import("drizzle-orm/pg-core").PgColumn<{
        name: "status";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: string;
      }>;
      visibility: import("drizzle-orm/pg-core").PgColumn<{
        name: "visibility";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: ContentVisibility;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentVisibility;
      }>;
      publishedAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "published_at";
        tableName: "content_entries";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      author: import("drizzle-orm/pg-core").PgColumn<{
        name: "author";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      createdAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "created_at";
        tableName: "content_entries";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      updatedAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "updated_at";
        tableName: "content_entries";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      parentId: import("drizzle-orm/pg-core").PgColumn<{
        name: "parent_id";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      menuOrder: import("drizzle-orm/pg-core").PgColumn<{
        name: "menu_order";
        tableName: "content_entries";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      templateKey: import("drizzle-orm/pg-core").PgColumn<{
        name: "template_key";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      excerpt: import("drizzle-orm/pg-core").PgColumn<{
        name: "excerpt";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      featuredMedia: import("drizzle-orm/pg-core").PgColumn<{
        name: "featured_media";
        tableName: "content_entries";
        dataType: "json";
        columnType: "PgJsonb";
        data: ContentMediaRef;
        driverParam: unknown;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentMediaRef;
      }>;
      commentStatus: import("drizzle-orm/pg-core").PgColumn<{
        name: "comment_status";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: ContentCommentStatus;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentCommentStatus;
      }>;
      pingStatus: import("drizzle-orm/pg-core").PgColumn<{
        name: "ping_status";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: ContentPingStatus;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentPingStatus;
      }>;
      sticky: import("drizzle-orm/pg-core").PgColumn<{
        name: "sticky";
        tableName: "content_entries";
        dataType: "boolean";
        columnType: "PgBoolean";
        data: boolean;
        driverParam: boolean;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      format: import("drizzle-orm/pg-core").PgColumn<{
        name: "format";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      deletedAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "deleted_at";
        tableName: "content_entries";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      lastEditedBy: import("drizzle-orm/pg-core").PgColumn<{
        name: "last_edited_by";
        tableName: "content_entries";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      typeDefinitionRevision: import("drizzle-orm/pg-core").PgColumn<{
        name: "type_definition_revision";
        tableName: "content_entries";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      statusDefinitionRevision: import("drizzle-orm/pg-core").PgColumn<{
        name: "status_definition_revision";
        tableName: "content_entries";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
  contentTerms: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_terms";
    schema: undefined;
    columns: {
      id: import("drizzle-orm/pg-core").PgColumn<{
        name: "id";
        tableName: "content_terms";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: true;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      taxonomy: import("drizzle-orm/pg-core").PgColumn<{
        name: "taxonomy";
        tableName: "content_terms";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      slug: import("drizzle-orm/pg-core").PgColumn<{
        name: "slug";
        tableName: "content_terms";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      name: import("drizzle-orm/pg-core").PgColumn<{
        name: "name";
        tableName: "content_terms";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      parentId: import("drizzle-orm/pg-core").PgColumn<{
        name: "parent_id";
        tableName: "content_terms";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      depth: import("drizzle-orm/pg-core").PgColumn<{
        name: "depth";
        tableName: "content_terms";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      createdAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "created_at";
        tableName: "content_terms";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
  contentEntryTerms: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_entry_terms";
    schema: undefined;
    columns: {
      entryId: import("drizzle-orm/pg-core").PgColumn<{
        name: "entry_id";
        tableName: "content_entry_terms";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      termId: import("drizzle-orm/pg-core").PgColumn<{
        name: "term_id";
        tableName: "content_entry_terms";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
  contentRevisions: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_revisions";
    schema: undefined;
    columns: {
      id: import("drizzle-orm/pg-core").PgColumn<{
        name: "id";
        tableName: "content_revisions";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: true;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      entryId: import("drizzle-orm/pg-core").PgColumn<{
        name: "entry_id";
        tableName: "content_revisions";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      seq: import("drizzle-orm/pg-core").PgColumn<{
        name: "seq";
        tableName: "content_revisions";
        dataType: "number";
        columnType: "PgBigSerial53";
        data: number;
        driverParam: number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      title: import("drizzle-orm/pg-core").PgColumn<{
        name: "title";
        tableName: "content_revisions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      body: import("drizzle-orm/pg-core").PgColumn<{
        name: "body";
        tableName: "content_revisions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      slug: import("drizzle-orm/pg-core").PgColumn<{
        name: "slug";
        tableName: "content_revisions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      type: import("drizzle-orm/pg-core").PgColumn<{
        name: "type";
        tableName: "content_revisions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      termIds: import("drizzle-orm/pg-core").PgColumn<{
        name: "term_ids";
        tableName: "content_revisions";
        dataType: "json";
        columnType: "PgJsonb";
        data: string[];
        driverParam: unknown;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: string[];
      }>;
      snapshot: import("drizzle-orm/pg-core").PgColumn<{
        name: "snapshot";
        tableName: "content_revisions";
        dataType: "json";
        columnType: "PgJsonb";
        data: ContentSchemaValue;
        driverParam: unknown;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentSchemaValue;
      }>;
      editor: import("drizzle-orm/pg-core").PgColumn<{
        name: "editor";
        tableName: "content_revisions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      createdAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "created_at";
        tableName: "content_revisions";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
  contentTypeDefinitions: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_type_definitions";
    schema: undefined;
    columns: {
      key: import("drizzle-orm/pg-core").PgColumn<{
        name: "key";
        tableName: "content_type_definitions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: true;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      origin: import("drizzle-orm/pg-core").PgColumn<{
        name: "origin";
        tableName: "content_type_definitions";
        dataType: "string";
        columnType: "PgText";
        data: ContentDefinitionOrigin;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentDefinitionOrigin;
      }>;
      version: import("drizzle-orm/pg-core").PgColumn<{
        name: "version";
        tableName: "content_type_definitions";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      active: import("drizzle-orm/pg-core").PgColumn<{
        name: "active";
        tableName: "content_type_definitions";
        dataType: "boolean";
        columnType: "PgBoolean";
        data: boolean;
        driverParam: boolean;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      currentRevision: import("drizzle-orm/pg-core").PgColumn<{
        name: "current_revision";
        tableName: "content_type_definitions";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      canonicalHash: import("drizzle-orm/pg-core").PgColumn<{
        name: "canonical_hash";
        tableName: "content_type_definitions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      definition: import("drizzle-orm/pg-core").PgColumn<{
        name: "definition";
        tableName: "content_type_definitions";
        dataType: "json";
        columnType: "PgJsonb";
        data: ContentSchemaValue;
        driverParam: unknown;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentSchemaValue;
      }>;
      shadowedDbVersion: import("drizzle-orm/pg-core").PgColumn<{
        name: "shadowed_db_version";
        tableName: "content_type_definitions";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      hostSessionId: import("drizzle-orm/pg-core").PgColumn<{
        name: "host_session_id";
        tableName: "content_type_definitions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      createdAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "created_at";
        tableName: "content_type_definitions";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      updatedAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "updated_at";
        tableName: "content_type_definitions";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
  contentStatusDefinitions: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_status_definitions";
    schema: undefined;
    columns: {
      key: import("drizzle-orm/pg-core").PgColumn<{
        name: "key";
        tableName: "content_status_definitions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: true;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      origin: import("drizzle-orm/pg-core").PgColumn<{
        name: "origin";
        tableName: "content_status_definitions";
        dataType: "string";
        columnType: "PgText";
        data: ContentDefinitionOrigin;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentDefinitionOrigin;
      }>;
      version: import("drizzle-orm/pg-core").PgColumn<{
        name: "version";
        tableName: "content_status_definitions";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      active: import("drizzle-orm/pg-core").PgColumn<{
        name: "active";
        tableName: "content_status_definitions";
        dataType: "boolean";
        columnType: "PgBoolean";
        data: boolean;
        driverParam: boolean;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      currentRevision: import("drizzle-orm/pg-core").PgColumn<{
        name: "current_revision";
        tableName: "content_status_definitions";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      canonicalHash: import("drizzle-orm/pg-core").PgColumn<{
        name: "canonical_hash";
        tableName: "content_status_definitions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      definition: import("drizzle-orm/pg-core").PgColumn<{
        name: "definition";
        tableName: "content_status_definitions";
        dataType: "json";
        columnType: "PgJsonb";
        data: ContentSchemaValue;
        driverParam: unknown;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentSchemaValue;
      }>;
      shadowedDbVersion: import("drizzle-orm/pg-core").PgColumn<{
        name: "shadowed_db_version";
        tableName: "content_status_definitions";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      hostSessionId: import("drizzle-orm/pg-core").PgColumn<{
        name: "host_session_id";
        tableName: "content_status_definitions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      createdAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "created_at";
        tableName: "content_status_definitions";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      updatedAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "updated_at";
        tableName: "content_status_definitions";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
  contentDefinitionVersions: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_definition_versions";
    schema: undefined;
    columns: {
      definitionKind: import("drizzle-orm/pg-core").PgColumn<{
        name: "definition_kind";
        tableName: "content_definition_versions";
        dataType: "string";
        columnType: "PgText";
        data: ContentDefinitionKind;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentDefinitionKind;
      }>;
      definitionKey: import("drizzle-orm/pg-core").PgColumn<{
        name: "definition_key";
        tableName: "content_definition_versions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      revision: import("drizzle-orm/pg-core").PgColumn<{
        name: "revision";
        tableName: "content_definition_versions";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      canonicalHash: import("drizzle-orm/pg-core").PgColumn<{
        name: "canonical_hash";
        tableName: "content_definition_versions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      definition: import("drizzle-orm/pg-core").PgColumn<{
        name: "definition";
        tableName: "content_definition_versions";
        dataType: "json";
        columnType: "PgJsonb";
        data: ContentSchemaValue;
        driverParam: unknown;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentSchemaValue;
      }>;
      origin: import("drizzle-orm/pg-core").PgColumn<{
        name: "origin";
        tableName: "content_definition_versions";
        dataType: "string";
        columnType: "PgText";
        data: ContentDefinitionOrigin;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentDefinitionOrigin;
      }>;
      hostSessionId: import("drizzle-orm/pg-core").PgColumn<{
        name: "host_session_id";
        tableName: "content_definition_versions";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      createdAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "created_at";
        tableName: "content_definition_versions";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
  contentPasswordCredentials: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_password_credentials";
    schema: undefined;
    columns: {
      entryId: import("drizzle-orm/pg-core").PgColumn<{
        name: "entry_id";
        tableName: "content_password_credentials";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: true;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      credentialVersion: import("drizzle-orm/pg-core").PgColumn<{
        name: "credential_version";
        tableName: "content_password_credentials";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      credential: import("drizzle-orm/pg-core").PgColumn<{
        name: "credential";
        tableName: "content_password_credentials";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      createdAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "created_at";
        tableName: "content_password_credentials";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      updatedAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "updated_at";
        tableName: "content_password_credentials";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
  contentLifecycleJournal: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_lifecycle_journal";
    schema: undefined;
    columns: {
      id: import("drizzle-orm/pg-core").PgColumn<{
        name: "id";
        tableName: "content_lifecycle_journal";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: true;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      operationId: import("drizzle-orm/pg-core").PgColumn<{
        name: "operation_id";
        tableName: "content_lifecycle_journal";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      kind: import("drizzle-orm/pg-core").PgColumn<{
        name: "kind";
        tableName: "content_lifecycle_journal";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      entryId: import("drizzle-orm/pg-core").PgColumn<{
        name: "entry_id";
        tableName: "content_lifecycle_journal";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      definitionKind: import("drizzle-orm/pg-core").PgColumn<{
        name: "definition_kind";
        tableName: "content_lifecycle_journal";
        dataType: "string";
        columnType: "PgText";
        data: ContentDefinitionKind;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentDefinitionKind;
      }>;
      definitionKey: import("drizzle-orm/pg-core").PgColumn<{
        name: "definition_key";
        tableName: "content_lifecycle_journal";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      definitionRevision: import("drizzle-orm/pg-core").PgColumn<{
        name: "definition_revision";
        tableName: "content_lifecycle_journal";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      state: import("drizzle-orm/pg-core").PgColumn<{
        name: "state";
        tableName: "content_lifecycle_journal";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      payload: import("drizzle-orm/pg-core").PgColumn<{
        name: "payload";
        tableName: "content_lifecycle_journal";
        dataType: "json";
        columnType: "PgJsonb";
        data: ContentSchemaValue;
        driverParam: unknown;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentSchemaValue;
      }>;
      createdAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "created_at";
        tableName: "content_lifecycle_journal";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      updatedAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "updated_at";
        tableName: "content_lifecycle_journal";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
  contentImportJournal: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_import_journal";
    schema: undefined;
    columns: {
      importId: import("drizzle-orm/pg-core").PgColumn<{
        name: "import_id";
        tableName: "content_import_journal";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: true;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      hostSessionId: import("drizzle-orm/pg-core").PgColumn<{
        name: "host_session_id";
        tableName: "content_import_journal";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      manifestHash: import("drizzle-orm/pg-core").PgColumn<{
        name: "manifest_hash";
        tableName: "content_import_journal";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      planHash: import("drizzle-orm/pg-core").PgColumn<{
        name: "plan_hash";
        tableName: "content_import_journal";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      state: import("drizzle-orm/pg-core").PgColumn<{
        name: "state";
        tableName: "content_import_journal";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      version: import("drizzle-orm/pg-core").PgColumn<{
        name: "version";
        tableName: "content_import_journal";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      nextSection: import("drizzle-orm/pg-core").PgColumn<{
        name: "next_section";
        tableName: "content_import_journal";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      nextOffset: import("drizzle-orm/pg-core").PgColumn<{
        name: "next_offset";
        tableName: "content_import_journal";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      highWaterMark: import("drizzle-orm/pg-core").PgColumn<{
        name: "high_water_mark";
        tableName: "content_import_journal";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      payload: import("drizzle-orm/pg-core").PgColumn<{
        name: "payload";
        tableName: "content_import_journal";
        dataType: "json";
        columnType: "PgJsonb";
        data: ContentSchemaValue;
        driverParam: unknown;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentSchemaValue;
      }>;
      createdAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "created_at";
        tableName: "content_import_journal";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      updatedAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "updated_at";
        tableName: "content_import_journal";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
  contentTombstones: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_tombstones";
    schema: undefined;
    columns: {
      id: import("drizzle-orm/pg-core").PgColumn<{
        name: "id";
        tableName: "content_tombstones";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: true;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      entryId: import("drizzle-orm/pg-core").PgColumn<{
        name: "entry_id";
        tableName: "content_tombstones";
        dataType: "string";
        columnType: "PgUUID";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      operationId: import("drizzle-orm/pg-core").PgColumn<{
        name: "operation_id";
        tableName: "content_tombstones";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      typeKey: import("drizzle-orm/pg-core").PgColumn<{
        name: "type_key";
        tableName: "content_tombstones";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      typeDefinitionRevision: import("drizzle-orm/pg-core").PgColumn<{
        name: "type_definition_revision";
        tableName: "content_tombstones";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      statusKey: import("drizzle-orm/pg-core").PgColumn<{
        name: "status_key";
        tableName: "content_tombstones";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      statusDefinitionRevision: import("drizzle-orm/pg-core").PgColumn<{
        name: "status_definition_revision";
        tableName: "content_tombstones";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      snapshot: import("drizzle-orm/pg-core").PgColumn<{
        name: "snapshot";
        tableName: "content_tombstones";
        dataType: "json";
        columnType: "PgJsonb";
        data: ContentSchemaValue;
        driverParam: unknown;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentSchemaValue;
      }>;
      deletedAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "deleted_at";
        tableName: "content_tombstones";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
  contentMigrationCheckpoints: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_migration_checkpoints";
    schema: undefined;
    columns: {
      migrationId: import("drizzle-orm/pg-core").PgColumn<{
        name: "migration_id";
        tableName: "content_migration_checkpoints";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      adapter: import("drizzle-orm/pg-core").PgColumn<{
        name: "adapter";
        tableName: "content_migration_checkpoints";
        dataType: "string";
        columnType: "PgText";
        data: ContentMigrationAdapter;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentMigrationAdapter;
      }>;
      phase: import("drizzle-orm/pg-core").PgColumn<{
        name: "phase";
        tableName: "content_migration_checkpoints";
        dataType: "string";
        columnType: "PgText";
        data: ContentMigrationPhase;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentMigrationPhase;
      }>;
      batchOrdinal: import("drizzle-orm/pg-core").PgColumn<{
        name: "batch_ordinal";
        tableName: "content_migration_checkpoints";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      version: import("drizzle-orm/pg-core").PgColumn<{
        name: "version";
        tableName: "content_migration_checkpoints";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      lastKey: import("drizzle-orm/pg-core").PgColumn<{
        name: "last_key";
        tableName: "content_migration_checkpoints";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      sourceCount: import("drizzle-orm/pg-core").PgColumn<{
        name: "source_count";
        tableName: "content_migration_checkpoints";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      targetCount: import("drizzle-orm/pg-core").PgColumn<{
        name: "target_count";
        tableName: "content_migration_checkpoints";
        dataType: "number";
        columnType: "PgInteger";
        data: number;
        driverParam: string | number;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      sourceHash: import("drizzle-orm/pg-core").PgColumn<{
        name: "source_hash";
        tableName: "content_migration_checkpoints";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      targetHash: import("drizzle-orm/pg-core").PgColumn<{
        name: "target_hash";
        tableName: "content_migration_checkpoints";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      highWaterMark: import("drizzle-orm/pg-core").PgColumn<{
        name: "high_water_mark";
        tableName: "content_migration_checkpoints";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      createdAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "created_at";
        tableName: "content_migration_checkpoints";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      updatedAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "updated_at";
        tableName: "content_migration_checkpoints";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
  contentMigrationWriteJournal: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "content_migration_write_journal";
    schema: undefined;
    columns: {
      seq: import("drizzle-orm/pg-core").PgColumn<{
        name: "seq";
        tableName: "content_migration_write_journal";
        dataType: "number";
        columnType: "PgBigSerial53";
        data: number;
        driverParam: number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: true;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      migrationId: import("drizzle-orm/pg-core").PgColumn<{
        name: "migration_id";
        tableName: "content_migration_write_journal";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      operation: import("drizzle-orm/pg-core").PgColumn<{
        name: "operation";
        tableName: "content_migration_write_journal";
        dataType: "string";
        columnType: "PgText";
        data: "insert" | "update" | "delete";
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: "insert" | "update" | "delete";
      }>;
      entryId: import("drizzle-orm/pg-core").PgColumn<{
        name: "entry_id";
        tableName: "content_migration_write_journal";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      beforeValue: import("drizzle-orm/pg-core").PgColumn<{
        name: "before_value";
        tableName: "content_migration_write_journal";
        dataType: "json";
        columnType: "PgJsonb";
        data: ContentSchemaValue;
        driverParam: unknown;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentSchemaValue;
      }>;
      afterValue: import("drizzle-orm/pg-core").PgColumn<{
        name: "after_value";
        tableName: "content_migration_write_journal";
        dataType: "json";
        columnType: "PgJsonb";
        data: ContentSchemaValue;
        driverParam: unknown;
        notNull: false;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {
        $type: ContentSchemaValue;
      }>;
      createdAt: import("drizzle-orm/pg-core").PgColumn<{
        name: "created_at";
        tableName: "content_migration_write_journal";
        dataType: "date";
        columnType: "PgTimestamp";
        data: Date;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: true;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
};
type ContentSchema = typeof contentSchema;
/** Callback-minted capability; callers never construct this from a querier. */
type ContentTransaction = Transaction<ContentSchema>;
//#endregion
//#region src/status.d.ts
type ContentStatusDateLabel = 'published' | 'scheduled' | 'lastModified' | 'created';
type ContentStatusTransitionInput = 'none' | 'scheduleAt' | 'publishedAt';
interface ContentStatusDefinition {
  key: string;
  label: string;
  published: boolean;
  internal: boolean;
  excludeFromSearch: boolean;
  publiclyQueryable: boolean;
  showInAdminAll: boolean;
  showInAdminStatusFilter: boolean;
  dateLabel: ContentStatusDateLabel;
  transitionInput: ContentStatusTransitionInput;
  position?: number;
}
type CodeContentStatus = ContentStatusDefinition & {
  readonly origin: 'code';
};
interface ResolvedContentStatus extends ContentStatusDefinition {
  readonly origin: 'code' | 'db';
  readonly version: number;
  readonly revision: number;
  readonly active: boolean;
  readonly canonicalHash: string;
  readonly shadowedDbVersion?: number;
}
type ContentStatusPatch = Partial<Omit<ContentStatusDefinition, 'key'>>;
type ContentStatusChangeStrategy = {
  kind: 'reject';
} | {
  kind: 'map';
  targetStatusKey: string;
};
declare function normalizeContentStatusDefinition(definition: ContentStatusDefinition): ContentStatusDefinition;
declare function defineContentStatus(definition: ContentStatusDefinition): CodeContentStatus;
declare function resolveContentStatuses(db: ContentDefinitionExecutor, opts?: {
  codeStatuses?: readonly CodeContentStatus[];
}): Promise<ResolvedContentStatus[]>;
declare function resolveContentStatus(db: ContentDefinitionExecutor, key: string, opts?: {
  codeStatuses?: readonly CodeContentStatus[];
}): Promise<ResolvedContentStatus>;
declare function createContentStatus(db: ContentDefinitionExecutor, principal: ContentPrincipal, input: {
  definition: ContentStatusDefinition;
  operationId: string;
}, authorization: ContentDefinitionAuthorization, effects: ContentDefinitionEffects, opts?: {
  codeStatuses?: readonly CodeContentStatus[];
}): Promise<ResolvedContentStatus>;
//#endregion
//#region src/definition-lifecycle.d.ts
type ContentDefinitionAction = 'createType' | 'createStatus' | 'changeType' | 'changeStatus' | 'reconcileCode' | 'restoreBackup';
interface ContentDefinitionAuthorization {
  assert(tx: ContentDefinitionExecutor, principal: ContentPrincipal, action: ContentDefinitionAction, definitionKey?: string): Promise<{
    policyVersion: string;
  }>;
}
interface ContentDefinitionImpact {
  token: string;
  definitionKey: string;
  expectedVersion: number;
  authorizationPolicyVersion: string;
  corpusVersion: string;
  corpusHash: string;
  affectedCounts: Readonly<Record<string, number>>;
  incompatibilities: readonly string[];
}
type ContentTypeChangeStrategy = {
  kind: 'reject';
} | {
  kind: 'deactivate';
} | {
  kind: 'mapStatus';
  mappings: Readonly<Record<string, string>>;
} | {
  kind: 'detachTaxonomies';
  taxonomyKeys: readonly string[];
} | {
  kind: 'flattenHierarchy';
} | {
  kind: 'retainDormantFeatureData';
  features: readonly ContentFeature[];
} | {
  kind: 'purgeFeatureData';
  features: readonly ContentFeature[];
  backupId: string;
} | {
  kind: 'reassignType';
  targetTypeKey: string;
};
type ContentDefinitionEvent = {
  id: string;
  version: 1;
  kind: 'codeRegistryReconciled';
  operationId: string;
  principalId: string;
  fromVersion: string;
  toVersion: string;
  changedKeys: readonly string[];
  strategiesHash: string;
  authorizationPolicyVersion: string;
  corpusHashes: readonly string[];
  affectedCounts: Readonly<Record<string, number>>;
  backupIds: readonly string[];
} | {
  id: string;
  version: 1;
  kind: 'dbDefinitionCreated';
  operationId: string;
  principalId: string;
  definitionKind: 'type' | 'status';
  definitionKey: string;
  definitionHash: string;
  revision: number;
  authorizationPolicyVersion: string;
} | {
  id: string;
  version: 1;
  kind: 'dbDefinitionChanged';
  operationId: string;
  principalId: string;
  definitionKind: 'type' | 'status';
  definitionKey: string;
  action: 'update' | 'deactivate' | 'delete';
  strategyHash: string;
  impactToken: string;
  authorizationPolicyVersion: string;
  corpusVersion: string;
  corpusHash: string;
  affectedCounts: Readonly<Record<string, number>>;
  backupIds: readonly string[];
} | {
  id: string;
  version: 1;
  kind: 'backupRestored';
  operationId: string;
  principalId: string;
  manifestId: string;
  destinationCorpusHash: string;
  restoredCounts: Readonly<Record<string, number>>;
  authorizationPolicyVersion: string;
};
interface ContentDefinitionAudit {
  record(tx: ContentDefinitionExecutor, event: ContentDefinitionEvent): Promise<void>;
}
interface ContentDefinitionOutbox {
  enqueue(tx: ContentDefinitionExecutor, event: ContentDefinitionEvent): Promise<void>;
}
interface ContentDefinitionEffects {
  audit: ContentDefinitionAudit;
  outbox: ContentDefinitionOutbox;
}
interface ContentBackupManifest {
  id: string;
  scopeHash: string;
  corpusVersion: string;
  corpusHash: string;
  itemCounts: Readonly<Record<string, number>>;
  byteCount: number;
  immutable: true;
}
interface ContentBackupSnapshot {
  readonly manifest: ContentBackupManifest;
  readonly payload: ContentSchemaValue;
}
interface ContentBackupStore {
  verify(tx: ContentDefinitionExecutor, backupId: string, scopeHash: string, corpusVersion: string, corpusHash: string, expectedCounts: Readonly<Record<string, number>>): Promise<ContentBackupManifest>;
  read(tx: ContentDefinitionExecutor, manifest: ContentBackupManifest): Promise<ContentBackupSnapshot>;
}
interface ContentDestructiveDependencies {
  backups: ContentBackupStore;
}
interface ContentBackupRestoreResult {
  operationId: string;
  manifestId: string;
  destinationCorpusHash: string;
  restoredCounts: Readonly<Record<string, number>>;
}
declare function previewContentTypeChange(db: ContentDefinitionExecutor, principal: ContentPrincipal, input: {
  key: string;
  expectedVersion: number;
  patch?: ContentTypePatch;
  deactivate?: boolean;
  delete?: boolean;
  strategies: readonly ContentTypeChangeStrategy[];
}, authorization: ContentDefinitionAuthorization, opts?: {
  codeTypes?: readonly CodeContentType[];
}): Promise<ContentDefinitionImpact>;
declare function applyContentTypeChange(db: ContentDefinitionExecutor, principal: ContentPrincipal, input: {
  impactToken: string;
  operationId: string;
  strategies: readonly ContentTypeChangeStrategy[];
}, authorization: ContentDefinitionAuthorization, effects: ContentDefinitionEffects, opts?: {
  codeTypes?: readonly CodeContentType[];
  codeStatuses?: readonly CodeContentStatus[];
  destructive?: ContentDestructiveDependencies;
}): Promise<ResolvedContentType | null>;
declare function previewContentStatusChange(db: ContentDefinitionExecutor, principal: ContentPrincipal, input: {
  key: string;
  expectedVersion: number;
  patch?: ContentStatusPatch;
  deactivate?: boolean;
  delete?: boolean;
  strategy: ContentStatusChangeStrategy;
}, authorization: ContentDefinitionAuthorization, opts?: {
  codeStatuses?: readonly CodeContentStatus[];
}): Promise<ContentDefinitionImpact>;
declare function applyContentStatusChange(db: ContentDefinitionExecutor, principal: ContentPrincipal, input: {
  impactToken: string;
  operationId: string;
  strategy: ContentStatusChangeStrategy;
}, authorization: ContentDefinitionAuthorization, effects: ContentDefinitionEffects, opts?: {
  codeStatuses?: readonly CodeContentStatus[];
}): Promise<ResolvedContentStatus | null>;
interface CodeContentRegistrySnapshot {
  version: string;
  types: readonly CodeContentType[];
  statuses: readonly CodeContentStatus[];
}
interface ContentCodeReconciliationPlan {
  token: string;
  fromVersion: string;
  nextCanonicalHash: string;
  typeImpacts: readonly ContentDefinitionImpact[];
  statusImpacts: readonly ContentDefinitionImpact[];
}
declare function previewContentCodeReconciliation(db: ContentDefinitionExecutor, principal: ContentPrincipal, input: {
  expectedCurrentVersion: string;
  next: CodeContentRegistrySnapshot;
  typeStrategies: Readonly<Record<string, readonly ContentTypeChangeStrategy[]>>;
  statusStrategies: Readonly<Record<string, ContentStatusChangeStrategy>>;
}, authorization: ContentDefinitionAuthorization): Promise<ContentCodeReconciliationPlan>;
declare function applyContentCodeReconciliation(db: ContentDefinitionExecutor, principal: ContentPrincipal, input: {
  planToken: string;
  operationId: string;
  next: CodeContentRegistrySnapshot;
  typeStrategies: Readonly<Record<string, readonly ContentTypeChangeStrategy[]>>;
  statusStrategies: Readonly<Record<string, ContentStatusChangeStrategy>>;
}, authorization: ContentDefinitionAuthorization, effects: ContentDefinitionEffects, destructive?: ContentDestructiveDependencies): Promise<CodeContentRegistrySnapshot>;
interface ContentBackupEntrySnapshot {
  readonly id: string;
  readonly excerpt?: string;
  readonly featuredMedia?: ContentSchemaValue | null;
  readonly parentId?: string | null;
  readonly menuOrder?: number;
  readonly templateKey?: string | null;
  readonly format?: string | null;
}
interface ContentBackupTypeDefinitionSnapshot {
  readonly key: string;
  readonly definition: ContentTypeDefinition;
}
interface ContentBackupStatusDefinitionSnapshot {
  readonly key: string;
  readonly definition: ContentStatusDefinition;
  readonly active: boolean;
}
interface ContentBackupPayload {
  readonly version: 1;
  readonly typeDefinitions?: readonly ContentBackupTypeDefinitionSnapshot[];
  readonly statusDefinitions?: readonly ContentBackupStatusDefinitionSnapshot[];
  readonly entries?: readonly ContentBackupEntrySnapshot[];
}
declare function contentBackupDestinationHash(db: ContentDefinitionExecutor, payload: ContentBackupPayload): Promise<string>;
declare function restoreContentBackup(db: ContentDefinitionExecutor, principal: ContentPrincipal, input: {
  manifest: ContentBackupManifest;
  destinationCorpusHash: string;
  operationId: string;
}, authorization: ContentDefinitionAuthorization, effects: ContentDefinitionEffects, deps: ContentDestructiveDependencies): Promise<ContentBackupRestoreResult>;
//#endregion
//#region src/registry.d.ts
type ContentFeature = 'title' | 'editor' | 'blocks' | 'author' | 'featuredImage' | 'excerpt' | 'comments' | 'revisions' | 'pageAttributes' | 'postFormats' | 'customFields' | 'trackbacks';
interface ContentTypeLabels {
  name: string;
  singularName: string;
  menuName: string;
  nameAdminBar: string;
  addNew: string;
  addNewItem: string;
  editItem: string;
  newItem: string;
  viewItem: string;
  viewItems: string;
  searchItems: string;
  notFound: string;
  notFoundInTrash: string;
  parentItemColon: string;
  allItems: string;
  archives: string;
  attributes: string;
  insertIntoItem: string;
  uploadedToThisItem: string;
  featuredImage: string;
  setFeaturedImage: string;
  removeFeaturedImage: string;
  useFeaturedImage: string;
  filterItemsList: string;
  filterByDate: string;
  itemsListNavigation: string;
  itemsList: string;
  itemPublished: string;
  itemPublishedPrivately: string;
  itemRevertedToDraft: string;
  itemScheduled: string;
  itemUpdated: string;
  itemLink: string;
  itemLinkDescription: string;
}
interface ContentTypeCapabilities {
  manageType: string;
  migrateAll: string;
  manageTerms: string;
  create: string;
  read: string;
  readPrivate: string;
  readProtected: string;
  editOwn: string;
  editOthers: string;
  editPrivate: string;
  editPublished: string;
  publish: string;
  deleteOwn: string;
  deleteOthers: string;
  deletePrivate: string;
  deletePublished: string;
}
interface ContentTypeRewrite {
  slug: string;
  withFront?: boolean;
  feeds?: boolean;
  pages?: boolean;
}
type ContentTemplateValue = string | number | boolean | null | readonly ContentTemplateValue[] | {
  readonly [key: string]: ContentTemplateValue;
};
interface ContentTemplateBlock {
  type: string;
  attributes?: Readonly<Record<string, ContentTemplateValue>>;
  children?: readonly ContentTemplateBlock[];
}
interface ContentTypeDefinition {
  key: string;
  labels: ContentTypeLabels;
  description?: string;
  public: boolean;
  hierarchical: boolean;
  excludeFromSearch: boolean;
  publiclyQueryable: boolean;
  showUi: boolean;
  showInMenu: boolean | string;
  showInNavMenus: boolean;
  showInAdminBar: boolean;
  menuPosition?: number;
  menuIcon?: string;
  capabilities: ContentTypeCapabilities;
  supports: readonly ContentFeature[];
  taxonomies: readonly string[];
  hasArchive: boolean | string;
  rewrite: false | ContentTypeRewrite;
  queryVariable: false | string;
  canExport: boolean;
  deleteWithAuthor: boolean | null;
  rest: false | {
    base: string;
    namespace: string;
    revisions: boolean;
    autosaves: boolean;
  };
  defaultTemplateKey: string;
  template?: readonly ContentTemplateBlock[];
  templateLock?: false | 'insert' | 'all' | 'contentOnly';
  statusKeys?: readonly string[];
  active: boolean;
  position?: number;
}
type CodeContentType = ContentTypeDefinition & {
  readonly origin: 'code';
};
interface ResolvedContentType extends ContentTypeDefinition {
  readonly origin: 'code' | 'db';
  readonly version: number;
  readonly revision: number;
  readonly canonicalHash: string;
  readonly shadowedDbVersion?: number;
}
type ContentTypePatch = Partial<Omit<ContentTypeDefinition, 'key' | 'active'>>;
type ContentDefinitionExecutor = {
  execute<Row extends Record<string, unknown> = Record<string, unknown>>(query: SQLWrapper): Promise<readonly Row[]>;
};
type ContentDefinitionErrorCode = 'invalid-definition' | 'definition-conflict' | 'definition-not-found' | 'stale-definition' | 'code-definition-owned' | 'operation-conflict' | 'invalid-receipt' | 'stale-impact' | 'backup-required' | 'backup-mismatch' | 'strategy-conflict' | 'authorization-drift';
declare class ContentDefinitionError extends Error {
  readonly code: ContentDefinitionErrorCode;
  readonly detail: string;
  readonly field?: string | undefined;
  readonly name = "ContentDefinitionError";
  constructor(code: ContentDefinitionErrorCode, detail: string, field?: string | undefined);
}
declare function isContentDefinitionError(error: unknown): error is ContentDefinitionError;
declare function normalizeContentTypeDefinition(definition: ContentTypeDefinition): ContentTypeDefinition;
declare function defineContentType(definition: ContentTypeDefinition): CodeContentType;
declare function resolveContentTypes(db: ContentDefinitionExecutor, opts?: {
  codeTypes?: readonly CodeContentType[];
}): Promise<ResolvedContentType[]>;
declare function resolveContentType(db: ContentDefinitionExecutor, key: string, opts?: {
  codeTypes?: readonly CodeContentType[];
}): Promise<ResolvedContentType>;
declare function createContentType(db: ContentDefinitionExecutor, principal: ContentPrincipal, input: {
  definition: ContentTypeDefinition;
  operationId: string;
}, authorization: ContentDefinitionAuthorization, effects: ContentDefinitionEffects, opts?: {
  codeTypes?: readonly CodeContentType[];
}): Promise<ResolvedContentType>;
//#endregion
//#region src/authz.d.ts
/** Canonical content principal shared by definitions, entries, queries, routes and headless runtime. */
interface ContentPrincipal {
  readonly id: string;
  readonly capabilities: ReadonlySet<string>;
  readonly member?: boolean;
  readonly system?: boolean;
  /** Optional host scope used only for idempotency identity; never interpreted as a public tenant column. */
  readonly tenantId?: string;
}
type ContentAuthorizationOperation = 'manageType' | 'migrateTypeDefinition' | 'manageTerms' | 'create' | 'read' | 'readProtected' | 'edit' | 'publish' | 'delete';
interface ContentAuthorizationInput {
  readonly principal: ContentPrincipal;
  readonly type: ResolvedContentType;
  readonly operation: ContentAuthorizationOperation;
  readonly entry?: Pick<ContentEntry, 'id' | 'author' | 'status' | 'visibility'>;
  readonly status?: ResolvedContentStatus;
}
declare class ContentAuthorizationError extends Error {
  readonly operation: ContentAuthorizationOperation;
  readonly principalId: string;
  readonly detail: string;
  readonly name = "ContentAuthorizationError";
  constructor(operation: ContentAuthorizationOperation, principalId: string, detail: string);
}
/**
 * Normative capability-key resolution from the complete content-type contract.
 * Returned keys are conjunctive; callers must never select their own ownership/status branches.
 */
declare function resolveRequiredContentCapabilities(input: ContentAuthorizationInput): readonly (keyof ContentTypeCapabilities)[];
declare function authorizeContentAction(input: ContentAuthorizationInput): void;
/**
 * Legacy compatibility shape retained only for old internal pre-T4 stores while callers migrate.
 * It is intentionally not the canonical public authorization seam.
 */
type Actor = {
  id: string;
  canEditAny?: boolean;
  canPublish?: boolean;
  canViewMembers?: boolean;
  canManageTaxonomy?: boolean;
};
type ContentAction = 'read' | 'create' | 'update' | 'publish' | 'schedule' | 'unpublish' | 'remove' | 'trash' | 'restore';
declare class ContentAuthzError extends Error {
  readonly action: ContentAction;
  readonly actorId: string;
  readonly detail: string;
  readonly entryId?: string | undefined;
  readonly name = "ContentAuthzError";
  constructor(action: ContentAction, actorId: string, detail: string, entryId?: string | undefined);
}
declare function assertCanModify(actor: Actor, action: ContentAction, ownerAuthor: string, entryId: string): void;
declare function assertCanPublish(actor: Actor, action: ContentAction, entryId: string): void;
declare function assertCanManageTaxonomy(actor: Actor): void;
//#endregion
export { applyContentTypeChange as $, ContentValidationError as $t, resolveContentType as A, contentImportJournal as At, ContentBackupTypeDefinitionSnapshot as B, ContentEntryCompletion as Bt, ContentTypePatch as C, ContentSchema as Ct, defineContentType as D, NormalizedContentRegistryRecord as Dt, createContentType as E, FlatContentEntry as Et, ContentBackupPayload as F, contentStatusDefinitions as Ft, ContentDefinitionEffects as G, ContentRevision as Gt, ContentDefinitionAction as H, ContentMediaRef as Ht, ContentBackupRestoreResult as I, contentTombstones as It, ContentDefinitionOutbox as J, ContentStatus as Jt, ContentDefinitionEvent as K, ContentSanitizationError as Kt, ContentBackupSnapshot as L, contentTypeDefinitions as Lt, CodeContentRegistrySnapshot as M, contentMigrationCheckpoints as Mt, ContentBackupEntrySnapshot as N, contentMigrationWriteJournal as Nt, isContentDefinitionError as O, contentDefinitionVersions as Ot, ContentBackupManifest as P, contentSchema as Pt, applyContentStatusChange as Q, ContentUpdatePatch as Qt, ContentBackupStatusDefinitionSnapshot as R, ContentCommentStatus as Rt, ContentTypeLabels as S, ContentMigrationPhase as St, ResolvedContentType as T, ContentTransaction as Tt, ContentDefinitionAudit as U, ContentPasswordAdapter as Ut, ContentCodeReconciliationPlan as V, ContentInput as Vt, ContentDefinitionAuthorization as W, ContentPingStatus as Wt, ContentTypeChangeStrategy as X, ContentTemplateKey as Xt, ContentDestructiveDependencies as Y, ContentTemplateDescriptor as Yt, applyContentCodeReconciliation as Z, ContentTemplateRegistry as Zt, ContentFeature as _, ContentDefinitionKind as _t, ContentAuthorizationOperation as a, RevisionListQuery as an, CodeContentStatus as at, ContentTypeCapabilities as b, ContentEntryCompletionRow as bt, assertCanManageTaxonomy as c, TermRef as cn, ContentStatusDefinition as ct, authorizeContentAction as d, ResolvedContentStatus as dt, ContentVisibility as en, contentBackupDestinationHash as et, resolveRequiredContentCapabilities as f, createContentStatus as ft, ContentDefinitionExecutor as g, resolveContentStatuses as gt, ContentDefinitionErrorCode as h, resolveContentStatus as ht, ContentAuthorizationInput as i, ProtectedContentRead as in, restoreContentBackup as it, resolveContentTypes as j, contentLifecycleJournal as jt, normalizeContentTypeDefinition as k, contentEntries as kt, assertCanModify as l, normalizeContentInput as ln, ContentStatusPatch as lt, ContentDefinitionError as m, normalizeContentStatusDefinition as mt, ContentAction as n, FinalContentEntry as nn, previewContentStatusChange as nt, ContentAuthzError as o, RevisionPage as on, ContentStatusChangeStrategy as ot, CodeContentType as p, defineContentStatus as pt, ContentDefinitionImpact as q, ContentSchemaSnapshot as qt, ContentAuthorizationError as r, NormalizedContentInput as rn, previewContentTypeChange as rt, ContentPrincipal as s, Sanitize as sn, ContentStatusDateLabel as st, Actor as t, ContentWriteInput as tn, previewContentCodeReconciliation as tt, assertCanPublish as u, ContentStatusTransitionInput as ut, ContentTemplateBlock as v, ContentDefinitionOrigin as vt, ContentTypeRewrite as w, ContentSchemaValue as wt, ContentTypeDefinition as x, ContentMigrationAdapter as xt, ContentTemplateValue as y, ContentDefinitionVersion as yt, ContentBackupStore as z, ContentEntry as zt };