/**
 * GraphQL types for ORM client
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
export interface StringFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
    includes?: string;
    notIncludes?: string;
    includesInsensitive?: string;
    notIncludesInsensitive?: string;
    startsWith?: string;
    notStartsWith?: string;
    startsWithInsensitive?: string;
    notStartsWithInsensitive?: string;
    endsWith?: string;
    notEndsWith?: string;
    endsWithInsensitive?: string;
    notEndsWithInsensitive?: string;
    like?: string;
    notLike?: string;
    likeInsensitive?: string;
    notLikeInsensitive?: string;
}
export interface IntFilter {
    isNull?: boolean;
    equalTo?: number;
    notEqualTo?: number;
    distinctFrom?: number;
    notDistinctFrom?: number;
    in?: number[];
    notIn?: number[];
    lessThan?: number;
    lessThanOrEqualTo?: number;
    greaterThan?: number;
    greaterThanOrEqualTo?: number;
}
export interface FloatFilter {
    isNull?: boolean;
    equalTo?: number;
    notEqualTo?: number;
    distinctFrom?: number;
    notDistinctFrom?: number;
    in?: number[];
    notIn?: number[];
    lessThan?: number;
    lessThanOrEqualTo?: number;
    greaterThan?: number;
    greaterThanOrEqualTo?: number;
}
export interface BooleanFilter {
    isNull?: boolean;
    equalTo?: boolean;
    notEqualTo?: boolean;
}
export interface UUIDFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
}
export interface DatetimeFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
}
export interface DateFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
}
export interface JSONFilter {
    isNull?: boolean;
    equalTo?: Record<string, unknown>;
    notEqualTo?: Record<string, unknown>;
    distinctFrom?: Record<string, unknown>;
    notDistinctFrom?: Record<string, unknown>;
    contains?: Record<string, unknown>;
    containedBy?: Record<string, unknown>;
    containsKey?: string;
    containsAllKeys?: string[];
    containsAnyKeys?: string[];
}
export interface BigIntFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
}
export interface BigFloatFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
}
export interface BitStringFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
}
export interface InternetAddressFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
    contains?: string;
    containsOrEqualTo?: string;
    containedBy?: string;
    containedByOrEqualTo?: string;
    containsOrContainedBy?: string;
}
export interface FullTextFilter {
    matches?: string;
}
export interface VectorFilter {
    isNull?: boolean;
    equalTo?: number[];
    notEqualTo?: number[];
    distinctFrom?: number[];
    notDistinctFrom?: number[];
}
export interface StringListFilter {
    isNull?: boolean;
    equalTo?: string[];
    notEqualTo?: string[];
    distinctFrom?: string[];
    notDistinctFrom?: string[];
    lessThan?: string[];
    lessThanOrEqualTo?: string[];
    greaterThan?: string[];
    greaterThanOrEqualTo?: string[];
    contains?: string[];
    containedBy?: string[];
    overlaps?: string[];
    anyEqualTo?: string;
    anyNotEqualTo?: string;
    anyLessThan?: string;
    anyLessThanOrEqualTo?: string;
    anyGreaterThan?: string;
    anyGreaterThanOrEqualTo?: string;
}
export interface IntListFilter {
    isNull?: boolean;
    equalTo?: number[];
    notEqualTo?: number[];
    distinctFrom?: number[];
    notDistinctFrom?: number[];
    lessThan?: number[];
    lessThanOrEqualTo?: number[];
    greaterThan?: number[];
    greaterThanOrEqualTo?: number[];
    contains?: number[];
    containedBy?: number[];
    overlaps?: number[];
    anyEqualTo?: number;
    anyNotEqualTo?: number;
    anyLessThan?: number;
    anyLessThanOrEqualTo?: number;
    anyGreaterThan?: number;
    anyGreaterThanOrEqualTo?: number;
}
export interface UUIDListFilter {
    isNull?: boolean;
    equalTo?: string[];
    notEqualTo?: string[];
    distinctFrom?: string[];
    notDistinctFrom?: string[];
    lessThan?: string[];
    lessThanOrEqualTo?: string[];
    greaterThan?: string[];
    greaterThanOrEqualTo?: string[];
    contains?: string[];
    containedBy?: string[];
    overlaps?: string[];
    anyEqualTo?: string;
    anyNotEqualTo?: string;
    anyLessThan?: string;
    anyLessThanOrEqualTo?: string;
    anyGreaterThan?: string;
    anyGreaterThanOrEqualTo?: string;
}
export interface InfraGetAllRecord {
    path?: string[] | null;
    data?: Record<string, unknown> | null;
}
/** Branch heads — mutable pointers into the commit chain */
export interface InfraRef {
    /** Unique ref identifier */
    id: string;
    /** Ref name (e.g. HEAD, main) */
    name?: string | null;
    /** Opaque store partition key for the global tier */
    scopeId?: string | null;
    /** Store this ref belongs to */
    storeId?: string | null;
    /** Commit this ref points to */
    commitId?: string | null;
}
/** Named stores — one per version-controlled tree (e.g. one graph, one definition set) */
export interface InfraStore {
    /** Unique store identifier */
    id: string;
    /** Human-readable store name */
    name?: string | null;
    /** Opaque store partition key for the global tier */
    scopeId?: string | null;
    /** Current root object hash of this store */
    hash?: string | null;
    /** Timestamp of store creation */
    createdAt?: string | null;
}
/** Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children */
export interface InfraObject {
    /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
    id: string;
    /** Opaque store partition key for the global tier */
    scopeId?: string | null;
    /** Ordered array of child object IDs */
    kids?: string[] | null;
    /** Ordered array of child path names (parallel to kids) */
    ktree?: string[] | null;
    /** Payload data for this object node */
    data?: Record<string, unknown> | null;
    /** Timestamp of object creation */
    createdAt?: string | null;
}
/** Commit history — each commit snapshots a tree root for a store */
export interface InfraCommit {
    /** Unique commit identifier */
    id: string;
    /** Optional commit message */
    message?: string | null;
    /** Opaque store partition key for the global tier */
    scopeId?: string | null;
    /** Store this commit belongs to */
    storeId?: string | null;
    /** Parent commit IDs (supports merge commits) */
    parentIds?: string[] | null;
    /** User who authored the changes */
    authorId?: string | null;
    /** User who committed (may differ from author) */
    committerId?: string | null;
    /** Root object ID of the tree snapshot at this commit */
    treeId?: string | null;
    /** Commit timestamp */
    date?: string | null;
}
/** Database provisioning preset catalog — merkle-versioned head over the infra store */
export interface DbPreset {
    /** Unique preset identifier */
    id: string;
    /** Infra Merkle store holding this preset's history (stamped by the versioned trigger) */
    storeId?: string | null;
    /** Preset slug (unique per scope); the preset's path in the infra tree is [db_preset, slug] */
    slug?: string | null;
    /** Preset definition (modules + options) — the readily-cached head; history lives in the infra store */
    definition?: Record<string, unknown> | null;
    /** Infra store commit for the current definition (stamped by the versioned trigger on every write) */
    commitId?: string | null;
    /** Content-address of definition->modules via metaschema_private.modules_hash (stamped by the versioned trigger); fast exact-match lookup key for provisioning requests */
    modulesHash?: string | null;
    /** Human-readable preset name */
    label?: string | null;
    /** Human-readable description of the preset */
    description?: string | null;
    /** Whether this preset is selectable for new databases */
    active?: boolean | null;
    /** Timestamp of preset creation */
    createdAt?: string | null;
    /** Timestamp of last modification */
    updatedAt?: string | null;
}
/** Logical namespace containers for grouping secrets, config, functions, and other resources */
export interface PlatformNamespace {
    id: string;
    createdAt?: string | null;
    updatedAt?: string | null;
    /** Human-readable namespace name (e.g. default, production, oauth) */
    name?: string | null;
    /** Globally unique computed namespace identifier via inflection.underscore */
    namespaceName?: string | null;
    /** Optional human-readable description of this namespace */
    description?: string | null;
    /** Whether this namespace is active (soft-disable for filtering) */
    isActive?: boolean | null;
    /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
    status?: string | null;
    /** Most recent provisioning or reconcile error message */
    lastError?: string | null;
    /** Key/value pairs for selecting and filtering namespaces */
    labels?: Record<string, unknown> | null;
    /** Freeform metadata for tooling and operational notes */
    annotations?: Record<string, unknown> | null;
    /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
    isManaged?: boolean | null;
}
/** Logical namespace containers for grouping secrets, config, functions, and other resources */
export interface Namespace {
    id: string;
    createdAt?: string | null;
    updatedAt?: string | null;
    /** Human-readable namespace name (e.g. default, production, oauth) */
    name?: string | null;
    /** Globally unique computed namespace identifier via inflection.underscore */
    namespaceName?: string | null;
    /** Optional human-readable description of this namespace */
    description?: string | null;
    /** Whether this namespace is active (soft-disable for filtering) */
    isActive?: boolean | null;
    /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
    status?: string | null;
    /** Most recent provisioning or reconcile error message */
    lastError?: string | null;
    /** Key/value pairs for selecting and filtering namespaces */
    labels?: Record<string, unknown> | null;
    /** Freeform metadata for tooling and operational notes */
    annotations?: Record<string, unknown> | null;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId?: string | null;
    /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
    isManaged?: boolean | null;
}
/** Namespace lifecycle events — audit log of creation, activation, deactivation, label changes */
export interface PlatformNamespaceEvent {
    /** Event timestamp (partition key) */
    createdAt?: string | null;
    /** Unique event identifier */
    id: string;
    /** Namespace this event belongs to */
    namespaceId?: string | null;
    /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
    eventType?: string | null;
    /** User who triggered this event (NULL for system/automated) */
    actorId?: string | null;
    /** Human-readable description of the event */
    message?: string | null;
    /** Structured context (old/new values, labels diff, etc.) */
    metadata?: Record<string, unknown> | null;
    /** CPU usage in millicores at time of event */
    cpuMillicores?: number | null;
    /** Memory usage in bytes at time of event */
    memoryBytes?: string | null;
    /** Storage usage in bytes at time of event */
    storageBytes?: string | null;
    /** Network ingress in bytes during event window */
    networkIngressBytes?: string | null;
    /** Network egress in bytes during event window */
    networkEgressBytes?: string | null;
    /** Number of active pods in the namespace at time of event */
    podCount?: number | null;
    /** Additional resource metrics (gpu, replicas, quotas, etc.) */
    metrics?: Record<string, unknown> | null;
}
/** Namespace lifecycle events — audit log of creation, activation, deactivation, label changes */
export interface NamespaceEvent {
    /** Event timestamp (partition key) */
    createdAt?: string | null;
    /** Unique event identifier */
    id: string;
    /** Namespace this event belongs to */
    namespaceId?: string | null;
    /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
    eventType?: string | null;
    /** User who triggered this event (NULL for system/automated) */
    actorId?: string | null;
    /** Human-readable description of the event */
    message?: string | null;
    /** Structured context (old/new values, labels diff, etc.) */
    metadata?: Record<string, unknown> | null;
    /** CPU usage in millicores at time of event */
    cpuMillicores?: number | null;
    /** Memory usage in bytes at time of event */
    memoryBytes?: string | null;
    /** Storage usage in bytes at time of event */
    storageBytes?: string | null;
    /** Network ingress in bytes during event window */
    networkIngressBytes?: string | null;
    /** Network egress in bytes during event window */
    networkEgressBytes?: string | null;
    /** Number of active pods in the namespace at time of event */
    podCount?: number | null;
    /** Additional resource metrics (gpu, replicas, quotas, etc.) */
    metrics?: Record<string, unknown> | null;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId?: string | null;
}
export interface ConnectionResult<T> {
    nodes: T[];
    totalCount: number;
    pageInfo: PageInfo;
}
export interface PageInfo {
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    startCursor?: string | null;
    endCursor?: string | null;
}
export interface InfraGetAllRecordRelations {
}
export interface InfraRefRelations {
}
export interface InfraStoreRelations {
}
export interface InfraObjectRelations {
}
export interface InfraCommitRelations {
}
export interface DbPresetRelations {
}
export interface PlatformNamespaceRelations {
}
export interface NamespaceRelations {
}
export interface PlatformNamespaceEventRelations {
}
export interface NamespaceEventRelations {
}
export type InfraGetAllRecordWithRelations = InfraGetAllRecord & InfraGetAllRecordRelations;
export type InfraRefWithRelations = InfraRef & InfraRefRelations;
export type InfraStoreWithRelations = InfraStore & InfraStoreRelations;
export type InfraObjectWithRelations = InfraObject & InfraObjectRelations;
export type InfraCommitWithRelations = InfraCommit & InfraCommitRelations;
export type DbPresetWithRelations = DbPreset & DbPresetRelations;
export type PlatformNamespaceWithRelations = PlatformNamespace & PlatformNamespaceRelations;
export type NamespaceWithRelations = Namespace & NamespaceRelations;
export type PlatformNamespaceEventWithRelations = PlatformNamespaceEvent & PlatformNamespaceEventRelations;
export type NamespaceEventWithRelations = NamespaceEvent & NamespaceEventRelations;
export type InfraGetAllRecordSelect = {
    path?: boolean;
    data?: boolean;
};
export type InfraRefSelect = {
    id?: boolean;
    name?: boolean;
    scopeId?: boolean;
    storeId?: boolean;
    commitId?: boolean;
};
export type InfraStoreSelect = {
    id?: boolean;
    name?: boolean;
    scopeId?: boolean;
    hash?: boolean;
    createdAt?: boolean;
};
export type InfraObjectSelect = {
    id?: boolean;
    scopeId?: boolean;
    kids?: boolean;
    ktree?: boolean;
    data?: boolean;
    createdAt?: boolean;
};
export type InfraCommitSelect = {
    id?: boolean;
    message?: boolean;
    scopeId?: boolean;
    storeId?: boolean;
    parentIds?: boolean;
    authorId?: boolean;
    committerId?: boolean;
    treeId?: boolean;
    date?: boolean;
};
export type DbPresetSelect = {
    id?: boolean;
    storeId?: boolean;
    slug?: boolean;
    definition?: boolean;
    commitId?: boolean;
    modulesHash?: boolean;
    label?: boolean;
    description?: boolean;
    active?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
};
export type PlatformNamespaceSelect = {
    id?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
    name?: boolean;
    namespaceName?: boolean;
    description?: boolean;
    isActive?: boolean;
    status?: boolean;
    lastError?: boolean;
    labels?: boolean;
    annotations?: boolean;
    isManaged?: boolean;
};
export type NamespaceSelect = {
    id?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
    name?: boolean;
    namespaceName?: boolean;
    description?: boolean;
    isActive?: boolean;
    status?: boolean;
    lastError?: boolean;
    labels?: boolean;
    annotations?: boolean;
    databaseId?: boolean;
    isManaged?: boolean;
};
export type PlatformNamespaceEventSelect = {
    createdAt?: boolean;
    id?: boolean;
    namespaceId?: boolean;
    eventType?: boolean;
    actorId?: boolean;
    message?: boolean;
    metadata?: boolean;
    cpuMillicores?: boolean;
    memoryBytes?: boolean;
    storageBytes?: boolean;
    networkIngressBytes?: boolean;
    networkEgressBytes?: boolean;
    podCount?: boolean;
    metrics?: boolean;
};
export type NamespaceEventSelect = {
    createdAt?: boolean;
    id?: boolean;
    namespaceId?: boolean;
    eventType?: boolean;
    actorId?: boolean;
    message?: boolean;
    metadata?: boolean;
    cpuMillicores?: boolean;
    memoryBytes?: boolean;
    storageBytes?: boolean;
    networkIngressBytes?: boolean;
    networkEgressBytes?: boolean;
    podCount?: boolean;
    metrics?: boolean;
    databaseId?: boolean;
};
export interface InfraGetAllRecordFilter {
    path?: StringListFilter;
    data?: JSONFilter;
    and?: InfraGetAllRecordFilter[];
    or?: InfraGetAllRecordFilter[];
    not?: InfraGetAllRecordFilter;
}
export interface InfraRefFilter {
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `scopeId` field. */
    scopeId?: UUIDFilter;
    /** Filter by the object’s `storeId` field. */
    storeId?: UUIDFilter;
    /** Filter by the object’s `commitId` field. */
    commitId?: UUIDFilter;
    /** Checks for all expressions in this list. */
    and?: InfraRefFilter[];
    /** Checks for any expressions in this list. */
    or?: InfraRefFilter[];
    /** Negates the expression. */
    not?: InfraRefFilter;
}
export interface InfraStoreFilter {
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `scopeId` field. */
    scopeId?: UUIDFilter;
    /** Filter by the object’s `hash` field. */
    hash?: UUIDFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Checks for all expressions in this list. */
    and?: InfraStoreFilter[];
    /** Checks for any expressions in this list. */
    or?: InfraStoreFilter[];
    /** Negates the expression. */
    not?: InfraStoreFilter;
}
export interface InfraObjectFilter {
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `scopeId` field. */
    scopeId?: UUIDFilter;
    /** Filter by the object’s `kids` field. */
    kids?: UUIDListFilter;
    /** Filter by the object’s `ktree` field. */
    ktree?: StringListFilter;
    /** Filter by the object’s `data` field. */
    data?: JSONFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Checks for all expressions in this list. */
    and?: InfraObjectFilter[];
    /** Checks for any expressions in this list. */
    or?: InfraObjectFilter[];
    /** Negates the expression. */
    not?: InfraObjectFilter;
}
export interface InfraCommitFilter {
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `message` field. */
    message?: StringFilter;
    /** Filter by the object’s `scopeId` field. */
    scopeId?: UUIDFilter;
    /** Filter by the object’s `storeId` field. */
    storeId?: UUIDFilter;
    /** Filter by the object’s `parentIds` field. */
    parentIds?: UUIDListFilter;
    /** Filter by the object’s `authorId` field. */
    authorId?: UUIDFilter;
    /** Filter by the object’s `committerId` field. */
    committerId?: UUIDFilter;
    /** Filter by the object’s `treeId` field. */
    treeId?: UUIDFilter;
    /** Filter by the object’s `date` field. */
    date?: DatetimeFilter;
    /** Checks for all expressions in this list. */
    and?: InfraCommitFilter[];
    /** Checks for any expressions in this list. */
    or?: InfraCommitFilter[];
    /** Negates the expression. */
    not?: InfraCommitFilter;
}
export interface DbPresetFilter {
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `storeId` field. */
    storeId?: UUIDFilter;
    /** Filter by the object’s `slug` field. */
    slug?: StringFilter;
    /** Filter by the object’s `definition` field. */
    definition?: JSONFilter;
    /** Filter by the object’s `commitId` field. */
    commitId?: UUIDFilter;
    /** Filter by the object’s `modulesHash` field. */
    modulesHash?: UUIDFilter;
    /** Filter by the object’s `label` field. */
    label?: StringFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `active` field. */
    active?: BooleanFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
    /** Checks for all expressions in this list. */
    and?: DbPresetFilter[];
    /** Checks for any expressions in this list. */
    or?: DbPresetFilter[];
    /** Negates the expression. */
    not?: DbPresetFilter;
}
export interface PlatformNamespaceFilter {
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceName` field. */
    namespaceName?: StringFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `isActive` field. */
    isActive?: BooleanFilter;
    /** Filter by the object’s `status` field. */
    status?: StringFilter;
    /** Filter by the object’s `lastError` field. */
    lastError?: StringFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `isManaged` field. */
    isManaged?: BooleanFilter;
    /** Checks for all expressions in this list. */
    and?: PlatformNamespaceFilter[];
    /** Checks for any expressions in this list. */
    or?: PlatformNamespaceFilter[];
    /** Negates the expression. */
    not?: PlatformNamespaceFilter;
}
export interface NamespaceFilter {
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceName` field. */
    namespaceName?: StringFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `isActive` field. */
    isActive?: BooleanFilter;
    /** Filter by the object’s `status` field. */
    status?: StringFilter;
    /** Filter by the object’s `lastError` field. */
    lastError?: StringFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `databaseId` field. */
    databaseId?: UUIDFilter;
    /** Filter by the object’s `isManaged` field. */
    isManaged?: BooleanFilter;
    /** Checks for all expressions in this list. */
    and?: NamespaceFilter[];
    /** Checks for any expressions in this list. */
    or?: NamespaceFilter[];
    /** Negates the expression. */
    not?: NamespaceFilter;
}
export interface PlatformNamespaceEventFilter {
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Filter by the object’s `eventType` field. */
    eventType?: StringFilter;
    /** Filter by the object’s `actorId` field. */
    actorId?: UUIDFilter;
    /** Filter by the object’s `message` field. */
    message?: StringFilter;
    /** Filter by the object’s `metadata` field. */
    metadata?: JSONFilter;
    /** Filter by the object’s `cpuMillicores` field. */
    cpuMillicores?: IntFilter;
    /** Filter by the object’s `memoryBytes` field. */
    memoryBytes?: BigIntFilter;
    /** Filter by the object’s `storageBytes` field. */
    storageBytes?: BigIntFilter;
    /** Filter by the object’s `networkIngressBytes` field. */
    networkIngressBytes?: BigIntFilter;
    /** Filter by the object’s `networkEgressBytes` field. */
    networkEgressBytes?: BigIntFilter;
    /** Filter by the object’s `podCount` field. */
    podCount?: IntFilter;
    /** Filter by the object’s `metrics` field. */
    metrics?: JSONFilter;
    /** Checks for all expressions in this list. */
    and?: PlatformNamespaceEventFilter[];
    /** Checks for any expressions in this list. */
    or?: PlatformNamespaceEventFilter[];
    /** Negates the expression. */
    not?: PlatformNamespaceEventFilter;
}
export interface NamespaceEventFilter {
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Filter by the object’s `eventType` field. */
    eventType?: StringFilter;
    /** Filter by the object’s `actorId` field. */
    actorId?: UUIDFilter;
    /** Filter by the object’s `message` field. */
    message?: StringFilter;
    /** Filter by the object’s `metadata` field. */
    metadata?: JSONFilter;
    /** Filter by the object’s `cpuMillicores` field. */
    cpuMillicores?: IntFilter;
    /** Filter by the object’s `memoryBytes` field. */
    memoryBytes?: BigIntFilter;
    /** Filter by the object’s `storageBytes` field. */
    storageBytes?: BigIntFilter;
    /** Filter by the object’s `networkIngressBytes` field. */
    networkIngressBytes?: BigIntFilter;
    /** Filter by the object’s `networkEgressBytes` field. */
    networkEgressBytes?: BigIntFilter;
    /** Filter by the object’s `podCount` field. */
    podCount?: IntFilter;
    /** Filter by the object’s `metrics` field. */
    metrics?: JSONFilter;
    /** Filter by the object’s `databaseId` field. */
    databaseId?: UUIDFilter;
    /** Checks for all expressions in this list. */
    and?: NamespaceEventFilter[];
    /** Checks for any expressions in this list. */
    or?: NamespaceEventFilter[];
    /** Negates the expression. */
    not?: NamespaceEventFilter;
}
export type InfraGetAllRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'PATH_ASC' | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC';
export type InfraRefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC';
export type InfraStoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
export type InfraObjectOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'KIDS_ASC' | 'KIDS_DESC' | 'KTREE_ASC' | 'KTREE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
export type InfraCommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' | 'DATE_DESC';
export type DbPresetOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC' | 'MODULES_HASH_ASC' | 'MODULES_HASH_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ACTIVE_ASC' | 'ACTIVE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
export type PlatformNamespaceOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NAMESPACE_NAME_ASC' | 'NAMESPACE_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'IS_MANAGED_ASC' | 'IS_MANAGED_DESC';
export type NamespaceOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NAMESPACE_NAME_ASC' | 'NAMESPACE_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'IS_MANAGED_ASC' | 'IS_MANAGED_DESC';
export type PlatformNamespaceEventOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'CPU_MILLICORES_ASC' | 'CPU_MILLICORES_DESC' | 'MEMORY_BYTES_ASC' | 'MEMORY_BYTES_DESC' | 'STORAGE_BYTES_ASC' | 'STORAGE_BYTES_DESC' | 'NETWORK_INGRESS_BYTES_ASC' | 'NETWORK_INGRESS_BYTES_DESC' | 'NETWORK_EGRESS_BYTES_ASC' | 'NETWORK_EGRESS_BYTES_DESC' | 'POD_COUNT_ASC' | 'POD_COUNT_DESC' | 'METRICS_ASC' | 'METRICS_DESC';
export type NamespaceEventOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'CPU_MILLICORES_ASC' | 'CPU_MILLICORES_DESC' | 'MEMORY_BYTES_ASC' | 'MEMORY_BYTES_DESC' | 'STORAGE_BYTES_ASC' | 'STORAGE_BYTES_DESC' | 'NETWORK_INGRESS_BYTES_ASC' | 'NETWORK_INGRESS_BYTES_DESC' | 'NETWORK_EGRESS_BYTES_ASC' | 'NETWORK_EGRESS_BYTES_DESC' | 'POD_COUNT_ASC' | 'POD_COUNT_DESC' | 'METRICS_ASC' | 'METRICS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
export interface CreateInfraGetAllRecordInput {
    clientMutationId?: string;
    infraGetAllRecord: {
        path?: string[];
        data?: Record<string, unknown>;
    };
}
export interface InfraGetAllRecordPatch {
    path?: string[] | null;
    data?: Record<string, unknown> | null;
}
export interface UpdateInfraGetAllRecordInput {
    clientMutationId?: string;
    id: string;
    infraGetAllRecordPatch: InfraGetAllRecordPatch;
}
export interface DeleteInfraGetAllRecordInput {
    clientMutationId?: string;
    id: string;
}
export interface CreateInfraRefInput {
    clientMutationId?: string;
    infraRef: {
        name: string;
        scopeId: string;
        storeId: string;
        commitId?: string;
    };
}
export interface InfraRefPatch {
    name?: string | null;
    scopeId?: string | null;
    storeId?: string | null;
    commitId?: string | null;
}
export interface UpdateInfraRefInput {
    clientMutationId?: string;
    id: string;
    infraRefPatch: InfraRefPatch;
}
export interface DeleteInfraRefInput {
    clientMutationId?: string;
    id: string;
}
export interface CreateInfraStoreInput {
    clientMutationId?: string;
    infraStore: {
        name: string;
        scopeId: string;
        hash?: string;
    };
}
export interface InfraStorePatch {
    name?: string | null;
    scopeId?: string | null;
    hash?: string | null;
}
export interface UpdateInfraStoreInput {
    clientMutationId?: string;
    id: string;
    infraStorePatch: InfraStorePatch;
}
export interface DeleteInfraStoreInput {
    clientMutationId?: string;
    id: string;
}
export interface CreateInfraObjectInput {
    clientMutationId?: string;
    infraObject: {
        scopeId: string;
        kids?: string[];
        ktree?: string[];
        data?: Record<string, unknown>;
    };
}
export interface InfraObjectPatch {
    scopeId?: string | null;
    kids?: string[] | null;
    ktree?: string[] | null;
    data?: Record<string, unknown> | null;
}
export interface UpdateInfraObjectInput {
    clientMutationId?: string;
    id: string;
    infraObjectPatch: InfraObjectPatch;
}
export interface DeleteInfraObjectInput {
    clientMutationId?: string;
    id: string;
}
export interface CreateInfraCommitInput {
    clientMutationId?: string;
    infraCommit: {
        message?: string;
        scopeId: string;
        storeId: string;
        parentIds?: string[];
        authorId?: string;
        committerId?: string;
        treeId?: string;
        date?: string;
    };
}
export interface InfraCommitPatch {
    message?: string | null;
    scopeId?: string | null;
    storeId?: string | null;
    parentIds?: string[] | null;
    authorId?: string | null;
    committerId?: string | null;
    treeId?: string | null;
    date?: string | null;
}
export interface UpdateInfraCommitInput {
    clientMutationId?: string;
    id: string;
    infraCommitPatch: InfraCommitPatch;
}
export interface DeleteInfraCommitInput {
    clientMutationId?: string;
    id: string;
}
export interface CreateDbPresetInput {
    clientMutationId?: string;
    dbPreset: {
        storeId?: string;
        slug: string;
        definition: Record<string, unknown>;
        commitId?: string;
        modulesHash?: string;
        label?: string;
        description?: string;
        active?: boolean;
    };
}
export interface DbPresetPatch {
    storeId?: string | null;
    slug?: string | null;
    definition?: Record<string, unknown> | null;
    commitId?: string | null;
    modulesHash?: string | null;
    label?: string | null;
    description?: string | null;
    active?: boolean | null;
}
export interface UpdateDbPresetInput {
    clientMutationId?: string;
    id: string;
    dbPresetPatch: DbPresetPatch;
}
export interface DeleteDbPresetInput {
    clientMutationId?: string;
    id: string;
}
export interface CreatePlatformNamespaceInput {
    clientMutationId?: string;
    platformNamespace: {
        name: string;
        namespaceName: string;
        description?: string;
        isActive?: boolean;
        status?: string;
        lastError?: string;
        labels?: Record<string, unknown>;
        annotations?: Record<string, unknown>;
        isManaged?: boolean;
    };
}
export interface PlatformNamespacePatch {
    name?: string | null;
    namespaceName?: string | null;
    description?: string | null;
    isActive?: boolean | null;
    status?: string | null;
    lastError?: string | null;
    labels?: Record<string, unknown> | null;
    annotations?: Record<string, unknown> | null;
    isManaged?: boolean | null;
}
export interface UpdatePlatformNamespaceInput {
    clientMutationId?: string;
    id: string;
    platformNamespacePatch: PlatformNamespacePatch;
}
export interface DeletePlatformNamespaceInput {
    clientMutationId?: string;
    id: string;
}
export interface CreateNamespaceInput {
    clientMutationId?: string;
    namespace: {
        name: string;
        namespaceName: string;
        description?: string;
        isActive?: boolean;
        status?: string;
        lastError?: string;
        labels?: Record<string, unknown>;
        annotations?: Record<string, unknown>;
        databaseId: string;
        isManaged?: boolean;
    };
}
export interface NamespacePatch {
    name?: string | null;
    namespaceName?: string | null;
    description?: string | null;
    isActive?: boolean | null;
    status?: string | null;
    lastError?: string | null;
    labels?: Record<string, unknown> | null;
    annotations?: Record<string, unknown> | null;
    databaseId?: string | null;
    isManaged?: boolean | null;
}
export interface UpdateNamespaceInput {
    clientMutationId?: string;
    id: string;
    namespacePatch: NamespacePatch;
}
export interface DeleteNamespaceInput {
    clientMutationId?: string;
    id: string;
}
export interface CreatePlatformNamespaceEventInput {
    clientMutationId?: string;
    platformNamespaceEvent: {
        namespaceId: string;
        eventType: string;
        actorId?: string;
        message?: string;
        metadata?: Record<string, unknown>;
        cpuMillicores?: number;
        memoryBytes?: string;
        storageBytes?: string;
        networkIngressBytes?: string;
        networkEgressBytes?: string;
        podCount?: number;
        metrics?: Record<string, unknown>;
    };
}
export interface PlatformNamespaceEventPatch {
    namespaceId?: string | null;
    eventType?: string | null;
    actorId?: string | null;
    message?: string | null;
    metadata?: Record<string, unknown> | null;
    cpuMillicores?: number | null;
    memoryBytes?: string | null;
    storageBytes?: string | null;
    networkIngressBytes?: string | null;
    networkEgressBytes?: string | null;
    podCount?: number | null;
    metrics?: Record<string, unknown> | null;
}
export interface UpdatePlatformNamespaceEventInput {
    clientMutationId?: string;
    id: string;
    platformNamespaceEventPatch: PlatformNamespaceEventPatch;
}
export interface DeletePlatformNamespaceEventInput {
    clientMutationId?: string;
    id: string;
}
export interface CreateNamespaceEventInput {
    clientMutationId?: string;
    namespaceEvent: {
        namespaceId: string;
        eventType: string;
        actorId?: string;
        message?: string;
        metadata?: Record<string, unknown>;
        cpuMillicores?: number;
        memoryBytes?: string;
        storageBytes?: string;
        networkIngressBytes?: string;
        networkEgressBytes?: string;
        podCount?: number;
        metrics?: Record<string, unknown>;
        databaseId: string;
    };
}
export interface NamespaceEventPatch {
    namespaceId?: string | null;
    eventType?: string | null;
    actorId?: string | null;
    message?: string | null;
    metadata?: Record<string, unknown> | null;
    cpuMillicores?: number | null;
    memoryBytes?: string | null;
    storageBytes?: string | null;
    networkIngressBytes?: string | null;
    networkEgressBytes?: string | null;
    podCount?: number | null;
    metrics?: Record<string, unknown> | null;
    databaseId?: string | null;
}
export interface UpdateNamespaceEventInput {
    clientMutationId?: string;
    id: string;
    namespaceEventPatch: NamespaceEventPatch;
}
export interface DeleteNamespaceEventInput {
    clientMutationId?: string;
    id: string;
}
export declare const connectionFieldsMap: Record<string, Record<string, string>>;
export interface InfraInitEmptyRepoInput {
    clientMutationId?: string;
    sId?: string;
    storeId?: string;
}
export interface InfraSetDataAtPathInput {
    clientMutationId?: string;
    sId?: string;
    root?: string;
    path?: string[];
    data?: Record<string, unknown>;
}
export interface InfraInsertNodeAtPathInput {
    clientMutationId?: string;
    sId?: string;
    root?: string;
    path?: string[];
    data?: Record<string, unknown>;
    kids?: string[];
    ktree?: string[];
}
export interface ProvisionBucketInput {
    /** The logical bucket key (e.g., "public", "private") */
    bucketKey: string;
    /**
     * Owner entity ID for entity-scoped bucket provisioning.
     * Omit for app-level (database-wide) storage.
     */
    ownerId?: string;
}
/** An input for mutations affecting `InfraRef` */
export interface InfraRefInput {
    /** Unique ref identifier */
    id?: string;
    /** Ref name (e.g. HEAD, main) */
    name: string;
    /** Opaque store partition key for the global tier */
    scopeId: string;
    /** Store this ref belongs to */
    storeId: string;
    /** Commit this ref points to */
    commitId?: string;
}
/** An input for mutations affecting `InfraStore` */
export interface InfraStoreInput {
    /** Unique store identifier */
    id?: string;
    /** Human-readable store name */
    name: string;
    /** Opaque store partition key for the global tier */
    scopeId: string;
    /** Current root object hash of this store */
    hash?: string;
    /** Timestamp of store creation */
    createdAt?: string;
}
/** An input for mutations affecting `InfraObject` */
export interface InfraObjectInput {
    /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
    id: string;
    /** Opaque store partition key for the global tier */
    scopeId: string;
    /** Ordered array of child object IDs */
    kids?: string[];
    /** Ordered array of child path names (parallel to kids) */
    ktree?: string[];
    /** Payload data for this object node */
    data?: Record<string, unknown>;
    /** Timestamp of object creation */
    createdAt?: string;
}
/** An input for mutations affecting `InfraCommit` */
export interface InfraCommitInput {
    /** Unique commit identifier */
    id?: string;
    /** Optional commit message */
    message?: string;
    /** Opaque store partition key for the global tier */
    scopeId: string;
    /** Store this commit belongs to */
    storeId: string;
    /** Parent commit IDs (supports merge commits) */
    parentIds?: string[];
    /** User who authored the changes */
    authorId?: string;
    /** User who committed (may differ from author) */
    committerId?: string;
    /** Root object ID of the tree snapshot at this commit */
    treeId?: string;
    /** Commit timestamp */
    date?: string;
}
/** An input for mutations affecting `DbPreset` */
export interface DbPresetInput {
    /** Unique preset identifier */
    id?: string;
    /** Infra Merkle store holding this preset's history (stamped by the versioned trigger) */
    storeId?: string;
    /** Preset slug (unique per scope); the preset's path in the infra tree is [db_preset, slug] */
    slug: string;
    /** Preset definition (modules + options) — the readily-cached head; history lives in the infra store */
    definition: Record<string, unknown>;
    /** Infra store commit for the current definition (stamped by the versioned trigger on every write) */
    commitId?: string;
    /** Content-address of definition->modules via metaschema_private.modules_hash (stamped by the versioned trigger); fast exact-match lookup key for provisioning requests */
    modulesHash?: string;
    /** Human-readable preset name */
    label?: string;
    /** Human-readable description of the preset */
    description?: string;
    /** Whether this preset is selectable for new databases */
    active?: boolean;
    /** Timestamp of preset creation */
    createdAt?: string;
    /** Timestamp of last modification */
    updatedAt?: string;
}
/** An input for mutations affecting `PlatformNamespace` */
export interface PlatformNamespaceInput {
    id?: string;
    createdAt?: string;
    updatedAt?: string;
    /** Human-readable namespace name (e.g. default, production, oauth) */
    name: string;
    /** Globally unique computed namespace identifier via inflection.underscore */
    namespaceName: string;
    /** Optional human-readable description of this namespace */
    description?: string;
    /** Whether this namespace is active (soft-disable for filtering) */
    isActive?: boolean;
    /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
    status?: string;
    /** Most recent provisioning or reconcile error message */
    lastError?: string;
    /** Key/value pairs for selecting and filtering namespaces */
    labels?: Record<string, unknown>;
    /** Freeform metadata for tooling and operational notes */
    annotations?: Record<string, unknown>;
    /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
    isManaged?: boolean;
}
/** An input for mutations affecting `Namespace` */
export interface NamespaceInput {
    id?: string;
    createdAt?: string;
    updatedAt?: string;
    /** Human-readable namespace name (e.g. default, production, oauth) */
    name: string;
    /** Globally unique computed namespace identifier via inflection.underscore */
    namespaceName: string;
    /** Optional human-readable description of this namespace */
    description?: string;
    /** Whether this namespace is active (soft-disable for filtering) */
    isActive?: boolean;
    /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
    status?: string;
    /** Most recent provisioning or reconcile error message */
    lastError?: string;
    /** Key/value pairs for selecting and filtering namespaces */
    labels?: Record<string, unknown>;
    /** Freeform metadata for tooling and operational notes */
    annotations?: Record<string, unknown>;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId: string;
    /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
    isManaged?: boolean;
}
/** An input for mutations affecting `PlatformNamespaceEvent` */
export interface PlatformNamespaceEventInput {
    /** Event timestamp (partition key) */
    createdAt?: string;
    /** Unique event identifier */
    id?: string;
    /** Namespace this event belongs to */
    namespaceId: string;
    /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
    eventType: string;
    /** User who triggered this event (NULL for system/automated) */
    actorId?: string;
    /** Human-readable description of the event */
    message?: string;
    /** Structured context (old/new values, labels diff, etc.) */
    metadata?: Record<string, unknown>;
    /** CPU usage in millicores at time of event */
    cpuMillicores?: number;
    /** Memory usage in bytes at time of event */
    memoryBytes?: string;
    /** Storage usage in bytes at time of event */
    storageBytes?: string;
    /** Network ingress in bytes during event window */
    networkIngressBytes?: string;
    /** Network egress in bytes during event window */
    networkEgressBytes?: string;
    /** Number of active pods in the namespace at time of event */
    podCount?: number;
    /** Additional resource metrics (gpu, replicas, quotas, etc.) */
    metrics?: Record<string, unknown>;
}
/** An input for mutations affecting `NamespaceEvent` */
export interface NamespaceEventInput {
    /** Event timestamp (partition key) */
    createdAt?: string;
    /** Unique event identifier */
    id?: string;
    /** Namespace this event belongs to */
    namespaceId: string;
    /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
    eventType: string;
    /** User who triggered this event (NULL for system/automated) */
    actorId?: string;
    /** Human-readable description of the event */
    message?: string;
    /** Structured context (old/new values, labels diff, etc.) */
    metadata?: Record<string, unknown>;
    /** CPU usage in millicores at time of event */
    cpuMillicores?: number;
    /** Memory usage in bytes at time of event */
    memoryBytes?: string;
    /** Storage usage in bytes at time of event */
    storageBytes?: string;
    /** Network ingress in bytes during event window */
    networkIngressBytes?: string;
    /** Network egress in bytes during event window */
    networkEgressBytes?: string;
    /** Number of active pods in the namespace at time of event */
    podCount?: number;
    /** Additional resource metrics (gpu, replicas, quotas, etc.) */
    metrics?: Record<string, unknown>;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId: string;
}
export interface InfraInitEmptyRepoPayload {
    clientMutationId?: string | null;
}
export type InfraInitEmptyRepoPayloadSelect = {
    clientMutationId?: boolean;
};
export interface InfraSetDataAtPathPayload {
    clientMutationId?: string | null;
    result?: string | null;
}
export type InfraSetDataAtPathPayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface InfraInsertNodeAtPathPayload {
    clientMutationId?: string | null;
    result?: string | null;
}
export type InfraInsertNodeAtPathPayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface ProvisionBucketPayload {
    /** Whether provisioning succeeded */
    success: boolean;
    /** The S3 bucket name that was provisioned */
    bucketName: string;
    /** The access type applied */
    accessType: string;
    /** The storage provider used */
    provider: string;
    /** The S3 endpoint (null for AWS S3 default) */
    endpoint?: string | null;
    /** Error message if provisioning failed */
    error?: string | null;
}
export type ProvisionBucketPayloadSelect = {
    success?: boolean;
    bucketName?: boolean;
    accessType?: boolean;
    provider?: boolean;
    endpoint?: boolean;
    error?: boolean;
};
export interface CreateInfraRefPayload {
    clientMutationId?: string | null;
    /** The `InfraRef` that was created by this mutation. */
    infraRef?: InfraRef | null;
    infraRefEdge?: InfraRefEdge | null;
}
export type CreateInfraRefPayloadSelect = {
    clientMutationId?: boolean;
    infraRef?: {
        select: InfraRefSelect;
    };
    infraRefEdge?: {
        select: InfraRefEdgeSelect;
    };
};
export interface UpdateInfraRefPayload {
    clientMutationId?: string | null;
    /** The `InfraRef` that was updated by this mutation. */
    infraRef?: InfraRef | null;
    infraRefEdge?: InfraRefEdge | null;
}
export type UpdateInfraRefPayloadSelect = {
    clientMutationId?: boolean;
    infraRef?: {
        select: InfraRefSelect;
    };
    infraRefEdge?: {
        select: InfraRefEdgeSelect;
    };
};
export interface DeleteInfraRefPayload {
    clientMutationId?: string | null;
    /** The `InfraRef` that was deleted by this mutation. */
    infraRef?: InfraRef | null;
    infraRefEdge?: InfraRefEdge | null;
}
export type DeleteInfraRefPayloadSelect = {
    clientMutationId?: boolean;
    infraRef?: {
        select: InfraRefSelect;
    };
    infraRefEdge?: {
        select: InfraRefEdgeSelect;
    };
};
export interface CreateInfraStorePayload {
    clientMutationId?: string | null;
    /** The `InfraStore` that was created by this mutation. */
    infraStore?: InfraStore | null;
    infraStoreEdge?: InfraStoreEdge | null;
}
export type CreateInfraStorePayloadSelect = {
    clientMutationId?: boolean;
    infraStore?: {
        select: InfraStoreSelect;
    };
    infraStoreEdge?: {
        select: InfraStoreEdgeSelect;
    };
};
export interface UpdateInfraStorePayload {
    clientMutationId?: string | null;
    /** The `InfraStore` that was updated by this mutation. */
    infraStore?: InfraStore | null;
    infraStoreEdge?: InfraStoreEdge | null;
}
export type UpdateInfraStorePayloadSelect = {
    clientMutationId?: boolean;
    infraStore?: {
        select: InfraStoreSelect;
    };
    infraStoreEdge?: {
        select: InfraStoreEdgeSelect;
    };
};
export interface DeleteInfraStorePayload {
    clientMutationId?: string | null;
    /** The `InfraStore` that was deleted by this mutation. */
    infraStore?: InfraStore | null;
    infraStoreEdge?: InfraStoreEdge | null;
}
export type DeleteInfraStorePayloadSelect = {
    clientMutationId?: boolean;
    infraStore?: {
        select: InfraStoreSelect;
    };
    infraStoreEdge?: {
        select: InfraStoreEdgeSelect;
    };
};
export interface CreateInfraObjectPayload {
    clientMutationId?: string | null;
    /** The `InfraObject` that was created by this mutation. */
    infraObject?: InfraObject | null;
    infraObjectEdge?: InfraObjectEdge | null;
}
export type CreateInfraObjectPayloadSelect = {
    clientMutationId?: boolean;
    infraObject?: {
        select: InfraObjectSelect;
    };
    infraObjectEdge?: {
        select: InfraObjectEdgeSelect;
    };
};
export interface UpdateInfraObjectPayload {
    clientMutationId?: string | null;
    /** The `InfraObject` that was updated by this mutation. */
    infraObject?: InfraObject | null;
    infraObjectEdge?: InfraObjectEdge | null;
}
export type UpdateInfraObjectPayloadSelect = {
    clientMutationId?: boolean;
    infraObject?: {
        select: InfraObjectSelect;
    };
    infraObjectEdge?: {
        select: InfraObjectEdgeSelect;
    };
};
export interface DeleteInfraObjectPayload {
    clientMutationId?: string | null;
    /** The `InfraObject` that was deleted by this mutation. */
    infraObject?: InfraObject | null;
    infraObjectEdge?: InfraObjectEdge | null;
}
export type DeleteInfraObjectPayloadSelect = {
    clientMutationId?: boolean;
    infraObject?: {
        select: InfraObjectSelect;
    };
    infraObjectEdge?: {
        select: InfraObjectEdgeSelect;
    };
};
export interface CreateInfraCommitPayload {
    clientMutationId?: string | null;
    /** The `InfraCommit` that was created by this mutation. */
    infraCommit?: InfraCommit | null;
    infraCommitEdge?: InfraCommitEdge | null;
}
export type CreateInfraCommitPayloadSelect = {
    clientMutationId?: boolean;
    infraCommit?: {
        select: InfraCommitSelect;
    };
    infraCommitEdge?: {
        select: InfraCommitEdgeSelect;
    };
};
export interface UpdateInfraCommitPayload {
    clientMutationId?: string | null;
    /** The `InfraCommit` that was updated by this mutation. */
    infraCommit?: InfraCommit | null;
    infraCommitEdge?: InfraCommitEdge | null;
}
export type UpdateInfraCommitPayloadSelect = {
    clientMutationId?: boolean;
    infraCommit?: {
        select: InfraCommitSelect;
    };
    infraCommitEdge?: {
        select: InfraCommitEdgeSelect;
    };
};
export interface DeleteInfraCommitPayload {
    clientMutationId?: string | null;
    /** The `InfraCommit` that was deleted by this mutation. */
    infraCommit?: InfraCommit | null;
    infraCommitEdge?: InfraCommitEdge | null;
}
export type DeleteInfraCommitPayloadSelect = {
    clientMutationId?: boolean;
    infraCommit?: {
        select: InfraCommitSelect;
    };
    infraCommitEdge?: {
        select: InfraCommitEdgeSelect;
    };
};
export interface CreateDbPresetPayload {
    clientMutationId?: string | null;
    /** The `DbPreset` that was created by this mutation. */
    dbPreset?: DbPreset | null;
    dbPresetEdge?: DbPresetEdge | null;
}
export type CreateDbPresetPayloadSelect = {
    clientMutationId?: boolean;
    dbPreset?: {
        select: DbPresetSelect;
    };
    dbPresetEdge?: {
        select: DbPresetEdgeSelect;
    };
};
export interface UpdateDbPresetPayload {
    clientMutationId?: string | null;
    /** The `DbPreset` that was updated by this mutation. */
    dbPreset?: DbPreset | null;
    dbPresetEdge?: DbPresetEdge | null;
}
export type UpdateDbPresetPayloadSelect = {
    clientMutationId?: boolean;
    dbPreset?: {
        select: DbPresetSelect;
    };
    dbPresetEdge?: {
        select: DbPresetEdgeSelect;
    };
};
export interface DeleteDbPresetPayload {
    clientMutationId?: string | null;
    /** The `DbPreset` that was deleted by this mutation. */
    dbPreset?: DbPreset | null;
    dbPresetEdge?: DbPresetEdge | null;
}
export type DeleteDbPresetPayloadSelect = {
    clientMutationId?: boolean;
    dbPreset?: {
        select: DbPresetSelect;
    };
    dbPresetEdge?: {
        select: DbPresetEdgeSelect;
    };
};
export interface CreatePlatformNamespacePayload {
    clientMutationId?: string | null;
    /** The `PlatformNamespace` that was created by this mutation. */
    platformNamespace?: PlatformNamespace | null;
    platformNamespaceEdge?: PlatformNamespaceEdge | null;
}
export type CreatePlatformNamespacePayloadSelect = {
    clientMutationId?: boolean;
    platformNamespace?: {
        select: PlatformNamespaceSelect;
    };
    platformNamespaceEdge?: {
        select: PlatformNamespaceEdgeSelect;
    };
};
export interface UpdatePlatformNamespacePayload {
    clientMutationId?: string | null;
    /** The `PlatformNamespace` that was updated by this mutation. */
    platformNamespace?: PlatformNamespace | null;
    platformNamespaceEdge?: PlatformNamespaceEdge | null;
}
export type UpdatePlatformNamespacePayloadSelect = {
    clientMutationId?: boolean;
    platformNamespace?: {
        select: PlatformNamespaceSelect;
    };
    platformNamespaceEdge?: {
        select: PlatformNamespaceEdgeSelect;
    };
};
export interface DeletePlatformNamespacePayload {
    clientMutationId?: string | null;
    /** The `PlatformNamespace` that was deleted by this mutation. */
    platformNamespace?: PlatformNamespace | null;
    platformNamespaceEdge?: PlatformNamespaceEdge | null;
}
export type DeletePlatformNamespacePayloadSelect = {
    clientMutationId?: boolean;
    platformNamespace?: {
        select: PlatformNamespaceSelect;
    };
    platformNamespaceEdge?: {
        select: PlatformNamespaceEdgeSelect;
    };
};
export interface CreateNamespacePayload {
    clientMutationId?: string | null;
    /** The `Namespace` that was created by this mutation. */
    namespace?: Namespace | null;
    namespaceEdge?: NamespaceEdge | null;
}
export type CreateNamespacePayloadSelect = {
    clientMutationId?: boolean;
    namespace?: {
        select: NamespaceSelect;
    };
    namespaceEdge?: {
        select: NamespaceEdgeSelect;
    };
};
export interface UpdateNamespacePayload {
    clientMutationId?: string | null;
    /** The `Namespace` that was updated by this mutation. */
    namespace?: Namespace | null;
    namespaceEdge?: NamespaceEdge | null;
}
export type UpdateNamespacePayloadSelect = {
    clientMutationId?: boolean;
    namespace?: {
        select: NamespaceSelect;
    };
    namespaceEdge?: {
        select: NamespaceEdgeSelect;
    };
};
export interface DeleteNamespacePayload {
    clientMutationId?: string | null;
    /** The `Namespace` that was deleted by this mutation. */
    namespace?: Namespace | null;
    namespaceEdge?: NamespaceEdge | null;
}
export type DeleteNamespacePayloadSelect = {
    clientMutationId?: boolean;
    namespace?: {
        select: NamespaceSelect;
    };
    namespaceEdge?: {
        select: NamespaceEdgeSelect;
    };
};
export interface CreatePlatformNamespaceEventPayload {
    clientMutationId?: string | null;
    /** The `PlatformNamespaceEvent` that was created by this mutation. */
    platformNamespaceEvent?: PlatformNamespaceEvent | null;
    platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
}
export type CreatePlatformNamespaceEventPayloadSelect = {
    clientMutationId?: boolean;
    platformNamespaceEvent?: {
        select: PlatformNamespaceEventSelect;
    };
    platformNamespaceEventEdge?: {
        select: PlatformNamespaceEventEdgeSelect;
    };
};
export interface UpdatePlatformNamespaceEventPayload {
    clientMutationId?: string | null;
    /** The `PlatformNamespaceEvent` that was updated by this mutation. */
    platformNamespaceEvent?: PlatformNamespaceEvent | null;
    platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
}
export type UpdatePlatformNamespaceEventPayloadSelect = {
    clientMutationId?: boolean;
    platformNamespaceEvent?: {
        select: PlatformNamespaceEventSelect;
    };
    platformNamespaceEventEdge?: {
        select: PlatformNamespaceEventEdgeSelect;
    };
};
export interface DeletePlatformNamespaceEventPayload {
    clientMutationId?: string | null;
    /** The `PlatformNamespaceEvent` that was deleted by this mutation. */
    platformNamespaceEvent?: PlatformNamespaceEvent | null;
    platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
}
export type DeletePlatformNamespaceEventPayloadSelect = {
    clientMutationId?: boolean;
    platformNamespaceEvent?: {
        select: PlatformNamespaceEventSelect;
    };
    platformNamespaceEventEdge?: {
        select: PlatformNamespaceEventEdgeSelect;
    };
};
export interface CreateNamespaceEventPayload {
    clientMutationId?: string | null;
    /** The `NamespaceEvent` that was created by this mutation. */
    namespaceEvent?: NamespaceEvent | null;
    namespaceEventEdge?: NamespaceEventEdge | null;
}
export type CreateNamespaceEventPayloadSelect = {
    clientMutationId?: boolean;
    namespaceEvent?: {
        select: NamespaceEventSelect;
    };
    namespaceEventEdge?: {
        select: NamespaceEventEdgeSelect;
    };
};
export interface UpdateNamespaceEventPayload {
    clientMutationId?: string | null;
    /** The `NamespaceEvent` that was updated by this mutation. */
    namespaceEvent?: NamespaceEvent | null;
    namespaceEventEdge?: NamespaceEventEdge | null;
}
export type UpdateNamespaceEventPayloadSelect = {
    clientMutationId?: boolean;
    namespaceEvent?: {
        select: NamespaceEventSelect;
    };
    namespaceEventEdge?: {
        select: NamespaceEventEdgeSelect;
    };
};
export interface DeleteNamespaceEventPayload {
    clientMutationId?: string | null;
    /** The `NamespaceEvent` that was deleted by this mutation. */
    namespaceEvent?: NamespaceEvent | null;
    namespaceEventEdge?: NamespaceEventEdge | null;
}
export type DeleteNamespaceEventPayloadSelect = {
    clientMutationId?: boolean;
    namespaceEvent?: {
        select: NamespaceEventSelect;
    };
    namespaceEventEdge?: {
        select: NamespaceEventEdgeSelect;
    };
};
/** A `InfraRef` edge in the connection. */
export interface InfraRefEdge {
    cursor?: string | null;
    /** The `InfraRef` at the end of the edge. */
    node?: InfraRef | null;
}
export type InfraRefEdgeSelect = {
    cursor?: boolean;
    node?: {
        select: InfraRefSelect;
    };
};
/** A `InfraStore` edge in the connection. */
export interface InfraStoreEdge {
    cursor?: string | null;
    /** The `InfraStore` at the end of the edge. */
    node?: InfraStore | null;
}
export type InfraStoreEdgeSelect = {
    cursor?: boolean;
    node?: {
        select: InfraStoreSelect;
    };
};
/** A `InfraObject` edge in the connection. */
export interface InfraObjectEdge {
    cursor?: string | null;
    /** The `InfraObject` at the end of the edge. */
    node?: InfraObject | null;
}
export type InfraObjectEdgeSelect = {
    cursor?: boolean;
    node?: {
        select: InfraObjectSelect;
    };
};
/** A `InfraCommit` edge in the connection. */
export interface InfraCommitEdge {
    cursor?: string | null;
    /** The `InfraCommit` at the end of the edge. */
    node?: InfraCommit | null;
}
export type InfraCommitEdgeSelect = {
    cursor?: boolean;
    node?: {
        select: InfraCommitSelect;
    };
};
/** A `DbPreset` edge in the connection. */
export interface DbPresetEdge {
    cursor?: string | null;
    /** The `DbPreset` at the end of the edge. */
    node?: DbPreset | null;
}
export type DbPresetEdgeSelect = {
    cursor?: boolean;
    node?: {
        select: DbPresetSelect;
    };
};
/** A `PlatformNamespace` edge in the connection. */
export interface PlatformNamespaceEdge {
    cursor?: string | null;
    /** The `PlatformNamespace` at the end of the edge. */
    node?: PlatformNamespace | null;
}
export type PlatformNamespaceEdgeSelect = {
    cursor?: boolean;
    node?: {
        select: PlatformNamespaceSelect;
    };
};
/** A `Namespace` edge in the connection. */
export interface NamespaceEdge {
    cursor?: string | null;
    /** The `Namespace` at the end of the edge. */
    node?: Namespace | null;
}
export type NamespaceEdgeSelect = {
    cursor?: boolean;
    node?: {
        select: NamespaceSelect;
    };
};
/** A `PlatformNamespaceEvent` edge in the connection. */
export interface PlatformNamespaceEventEdge {
    cursor?: string | null;
    /** The `PlatformNamespaceEvent` at the end of the edge. */
    node?: PlatformNamespaceEvent | null;
}
export type PlatformNamespaceEventEdgeSelect = {
    cursor?: boolean;
    node?: {
        select: PlatformNamespaceEventSelect;
    };
};
/** A `NamespaceEvent` edge in the connection. */
export interface NamespaceEventEdge {
    cursor?: string | null;
    /** The `NamespaceEvent` at the end of the edge. */
    node?: NamespaceEvent | null;
}
export type NamespaceEventEdgeSelect = {
    cursor?: boolean;
    node?: {
        select: NamespaceEventSelect;
    };
};
