import { z } from "zod"; export declare const startPushRequest: z.ZodObject<{ adminKey: z.ZodString; dryRun: z.ZodBoolean; functions: z.ZodString; appDefinition: z.ZodObject<{ definition: z.ZodNullable; environment: z.ZodUnion<[z.ZodLiteral<"isolate">, z.ZodLiteral<"node">]>; }, "passthrough", z.ZodTypeAny, { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }, { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }>>; dependencies: z.ZodArray; schema: z.ZodNullable; environment: z.ZodUnion<[z.ZodLiteral<"isolate">, z.ZodLiteral<"node">]>; }, "passthrough", z.ZodTypeAny, { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }, { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }>>; changedModules: z.ZodArray; environment: z.ZodUnion<[z.ZodLiteral<"isolate">, z.ZodLiteral<"node">]>; }, "passthrough", z.ZodTypeAny, { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }, { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }>, "many">; unchangedModuleHashes: z.ZodArray, z.ZodLiteral<"node">]>; sha256: z.ZodString; }, "passthrough", z.ZodTypeAny, { sha256: string; path: string; environment: "node" | "isolate"; }, { sha256: string; path: string; environment: "node" | "isolate"; }>, "many">; udfServerVersion: z.ZodString; }, "passthrough", z.ZodTypeAny, { definition: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; } | null; dependencies: string[]; schema: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; } | null; changedModules: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }[]; unchangedModuleHashes: { sha256: string; path: string; environment: "node" | "isolate"; }[]; udfServerVersion: string; }, { definition: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; } | null; dependencies: string[]; schema: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; } | null; changedModules: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }[]; unchangedModuleHashes: { sha256: string; path: string; environment: "node" | "isolate"; }[]; udfServerVersion: string; }>; componentDefinitions: z.ZodArray; environment: z.ZodUnion<[z.ZodLiteral<"isolate">, z.ZodLiteral<"node">]>; }, "passthrough", z.ZodTypeAny, { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }, { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }>; dependencies: z.ZodArray; schema: z.ZodNullable; environment: z.ZodUnion<[z.ZodLiteral<"isolate">, z.ZodLiteral<"node">]>; }, "passthrough", z.ZodTypeAny, { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }, { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }>>; functions: z.ZodArray; environment: z.ZodUnion<[z.ZodLiteral<"isolate">, z.ZodLiteral<"node">]>; }, "passthrough", z.ZodTypeAny, { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }, { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }>, "many">; udfServerVersion: z.ZodString; }, "passthrough", z.ZodTypeAny, { definition: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }; dependencies: string[]; schema: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; } | null; functions: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }[]; definitionPath: string; udfServerVersion: string; }, { definition: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }; dependencies: string[]; schema: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; } | null; functions: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }[]; definitionPath: string; udfServerVersion: string; }>, "many">; nodeDependencies: z.ZodArray, "many">; nodeVersion: z.ZodOptional; }, "passthrough", z.ZodTypeAny, { dryRun: boolean; functions: string; adminKey: string; appDefinition: { definition: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; } | null; dependencies: string[]; schema: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; } | null; changedModules: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }[]; unchangedModuleHashes: { sha256: string; path: string; environment: "node" | "isolate"; }[]; udfServerVersion: string; }; componentDefinitions: { definition: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }; dependencies: string[]; schema: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; } | null; functions: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }[]; definitionPath: string; udfServerVersion: string; }[]; nodeDependencies: { name: string; version: string; }[]; nodeVersion?: string | undefined; }, { dryRun: boolean; functions: string; adminKey: string; appDefinition: { definition: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; } | null; dependencies: string[]; schema: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; } | null; changedModules: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }[]; unchangedModuleHashes: { sha256: string; path: string; environment: "node" | "isolate"; }[]; udfServerVersion: string; }; componentDefinitions: { definition: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }; dependencies: string[]; schema: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; } | null; functions: { path: string; environment: "node" | "isolate"; source: string; sourceMap?: string | undefined; }[]; definitionPath: string; udfServerVersion: string; }[]; nodeDependencies: { name: string; version: string; }[]; nodeVersion?: string | undefined; }>; export type StartPushRequest = z.infer; export declare const schemaChange: z.ZodObject<{ allocatedComponentIds: z.ZodAny; schemaIds: z.ZodAny; indexDiffs: z.ZodOptional; fields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "database"; fields: string[]; name: string; }, { type: "database"; fields: string[]; name: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"search">; searchField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "search"; name: string; searchField: string; filterFields: string[]; }, { type: "search"; name: string; searchField: string; filterFields: string[]; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"vector">; dimensions: z.ZodNumber; vectorField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }>]>, z.ZodObject<{ staged: z.ZodOptional; }, "strip", z.ZodTypeAny, { staged?: boolean | undefined; }, { staged?: boolean | undefined; }>>, "many">; removed_indexes: z.ZodArray; fields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "database"; fields: string[]; name: string; }, { type: "database"; fields: string[]; name: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"search">; searchField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "search"; name: string; searchField: string; filterFields: string[]; }, { type: "search"; name: string; searchField: string; filterFields: string[]; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"vector">; dimensions: z.ZodNumber; vectorField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }>]>, z.ZodObject<{ staged: z.ZodOptional; }, "strip", z.ZodTypeAny, { staged?: boolean | undefined; }, { staged?: boolean | undefined; }>>, "many">; enabled_indexes: z.ZodOptional; fields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "database"; fields: string[]; name: string; }, { type: "database"; fields: string[]; name: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"search">; searchField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "search"; name: string; searchField: string; filterFields: string[]; }, { type: "search"; name: string; searchField: string; filterFields: string[]; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"vector">; dimensions: z.ZodNumber; vectorField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }>]>, z.ZodObject<{ staged: z.ZodOptional; }, "strip", z.ZodTypeAny, { staged?: boolean | undefined; }, { staged?: boolean | undefined; }>>, "many">>; disabled_indexes: z.ZodOptional; fields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "database"; fields: string[]; name: string; }, { type: "database"; fields: string[]; name: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"search">; searchField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "search"; name: string; searchField: string; filterFields: string[]; }, { type: "search"; name: string; searchField: string; filterFields: string[]; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"vector">; dimensions: z.ZodNumber; vectorField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }>]>, z.ZodObject<{ staged: z.ZodOptional; }, "strip", z.ZodTypeAny, { staged?: boolean | undefined; }, { staged?: boolean | undefined; }>>, "many">>; }, "passthrough", z.ZodTypeAny, { added_indexes: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[]; removed_indexes: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[]; enabled_indexes?: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[] | undefined; disabled_indexes?: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[] | undefined; }, { added_indexes: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[]; removed_indexes: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[]; enabled_indexes?: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[] | undefined; disabled_indexes?: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[] | undefined; }>>>; }, "passthrough", z.ZodTypeAny, { allocatedComponentIds?: any; schemaIds?: any; indexDiffs?: Record | undefined; }, { allocatedComponentIds?: any; schemaIds?: any; indexDiffs?: Record | undefined; }>; export type SchemaChange = z.infer; export declare const startPushResponse: z.ZodObject<{ environmentVariables: z.ZodRecord; externalDepsId: z.ZodNullable; componentDefinitionPackages: z.ZodRecord; appAuth: z.ZodArray; applicationID: z.ZodNullable; issuer: z.ZodString; jwks: z.ZodString; algorithm: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"customJwt">; applicationID: z.ZodNullable; issuer: z.ZodString; jwks: z.ZodString; algorithm: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"customJwt">; applicationID: z.ZodNullable; issuer: z.ZodString; jwks: z.ZodString; algorithm: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ applicationID: z.ZodString; domain: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ applicationID: z.ZodString; domain: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ applicationID: z.ZodString; domain: z.ZodString; }, z.ZodTypeAny, "passthrough">>]>, "many">; analysis: z.ZodRecord; httpPrefix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, { type: "app"; httpPrefix?: string | undefined; }, { type: "app"; httpPrefix?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"childComponent">; name: z.ZodString; }, "passthrough", z.ZodTypeAny, { type: "childComponent"; name: string; }, { type: "childComponent"; name: string; }>]>; childComponents: z.ZodArray; value: z.ZodString; }, "passthrough", z.ZodTypeAny, { type: "value"; value: string; }, { type: "value"; value: string; }>, z.ZodObject<{ type: z.ZodLiteral<"envVar">; name: z.ZodString; }, "passthrough", z.ZodTypeAny, { type: "envVar"; name: string; }, { type: "envVar"; name: string; }>]>], null>, "many">>>; }, "passthrough", z.ZodTypeAny, { name: string; path: string; env?: [string, { type: "value"; value: string; } | { type: "envVar"; name: string; }][] | null | undefined; }, { name: string; path: string; env?: [string, { type: "value"; value: string; } | { type: "envVar"; name: string; }][] | null | undefined; }>, "many">; httpMounts: z.ZodRecord; exports: z.ZodObject<{ type: z.ZodLiteral<"branch">; branch: z.ZodArray], null>, "many">; }, "passthrough", z.ZodTypeAny, { type: "branch"; branch: [string, import("./componentDefinition.js").ComponentExports][]; }, { type: "branch"; branch: [string, import("./componentDefinition.js").ComponentExports][]; }>; envVars: z.ZodOptional; value: z.ZodString; optional: z.ZodOptional; }, "passthrough", z.ZodTypeAny, { type: "value"; value: string; optional?: boolean | undefined; }, { type: "value"; value: string; optional?: boolean | undefined; }>], null>, "many">>>; }, "passthrough", z.ZodTypeAny, { path: string; childComponents: { name: string; path: string; env?: [string, { type: "value"; value: string; } | { type: "envVar"; name: string; }][] | null | undefined; }[]; exports: { type: "branch"; branch: [string, import("./componentDefinition.js").ComponentExports][]; }; definitionType: { type: "app"; httpPrefix?: string | undefined; } | { type: "childComponent"; name: string; }; httpMounts: Record; envVars?: [string, { type: "value"; value: string; optional?: boolean | undefined; }][] | null | undefined; }, { path: string; childComponents: { name: string; path: string; env?: [string, { type: "value"; value: string; } | { type: "envVar"; name: string; }][] | null | undefined; }[]; exports: { type: "branch"; branch: [string, import("./componentDefinition.js").ComponentExports][]; }; definitionType: { type: "app"; httpPrefix?: string | undefined; } | { type: "childComponent"; name: string; }; httpMounts: Record; envVars?: [string, { type: "value"; value: string; optional?: boolean | undefined; }][] | null | undefined; }>; schema: z.ZodNullable; }, "passthrough", z.ZodTypeAny, { fields: string[]; indexDescriptor: string; }, { fields: string[]; indexDescriptor: string; }>, "many">; searchIndexes: z.ZodNullable; }, "passthrough", z.ZodTypeAny, { searchField: string; filterFields: string[]; indexDescriptor: string; }, { searchField: string; filterFields: string[]; indexDescriptor: string; }>, "many">>>; vectorIndexes: z.ZodNullable; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { filterFields: string[]; vectorField: string; indexDescriptor: string; dimensions?: number | undefined; }, { filterFields: string[]; vectorField: string; indexDescriptor: string; dimensions?: number | undefined; }>, "many">>>; documentType: z.ZodType; }, "passthrough", z.ZodTypeAny, { tableName: string; indexes: { fields: string[]; indexDescriptor: string; }[]; documentType: import("./validator.js").ConvexValidator; searchIndexes?: { searchField: string; filterFields: string[]; indexDescriptor: string; }[] | null | undefined; vectorIndexes?: { filterFields: string[]; vectorField: string; indexDescriptor: string; dimensions?: number | undefined; }[] | null | undefined; }, { tableName: string; indexes: { fields: string[]; indexDescriptor: string; }[]; documentType: import("./validator.js").ConvexValidator; searchIndexes?: { searchField: string; filterFields: string[]; indexDescriptor: string; }[] | null | undefined; vectorIndexes?: { filterFields: string[]; vectorField: string; indexDescriptor: string; dimensions?: number | undefined; }[] | null | undefined; }>, "many">; schemaValidation: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, { schemaValidation: boolean; tables: { tableName: string; indexes: { fields: string[]; indexDescriptor: string; }[]; documentType: import("./validator.js").ConvexValidator; searchIndexes?: { searchField: string; filterFields: string[]; indexDescriptor: string; }[] | null | undefined; vectorIndexes?: { filterFields: string[]; vectorField: string; indexDescriptor: string; dimensions?: number | undefined; }[] | null | undefined; }[]; }, { schemaValidation: boolean; tables: { tableName: string; indexes: { fields: string[]; indexDescriptor: string; }[]; documentType: import("./validator.js").ConvexValidator; searchIndexes?: { searchField: string; filterFields: string[]; indexDescriptor: string; }[] | null | undefined; vectorIndexes?: { filterFields: string[]; vectorField: string; indexDescriptor: string; dimensions?: number | undefined; }[] | null | undefined; }[]; }>>>; functions: z.ZodRecord, z.ZodLiteral<"Mutation">, z.ZodLiteral<"Action">]>; visibility: z.ZodNullable; }, "passthrough", z.ZodTypeAny, { kind: "public"; }, { kind: "public"; }>, z.ZodObject<{ kind: z.ZodLiteral<"internal">; }, "passthrough", z.ZodTypeAny, { kind: "internal"; }, { kind: "internal"; }>]>>; args: z.ZodNullable; returns: z.ZodNullable; }, "passthrough", z.ZodTypeAny, { name: string; args: string | null; visibility: { kind: "public"; } | { kind: "internal"; } | null; udfType: "Mutation" | "Action" | "Query"; returns: string | null; pos?: any; }, { name: string; args: string | null; visibility: { kind: "public"; } | { kind: "internal"; } | null; udfType: "Mutation" | "Action" | "Query"; returns: string | null; pos?: any; }>, "many">; httpRoutes: z.ZodAny; cronSpecs: z.ZodAny; sourceMapped: z.ZodAny; }, "passthrough", z.ZodTypeAny, { functions: { name: string; args: string | null; visibility: { kind: "public"; } | { kind: "internal"; } | null; udfType: "Mutation" | "Action" | "Query"; returns: string | null; pos?: any; }[]; httpRoutes?: any; cronSpecs?: any; sourceMapped?: any; }, { functions: { name: string; args: string | null; visibility: { kind: "public"; } | { kind: "internal"; } | null; udfType: "Mutation" | "Action" | "Query"; returns: string | null; pos?: any; }[]; httpRoutes?: any; cronSpecs?: any; sourceMapped?: any; }>>; udfConfig: z.ZodObject<{ serverVersion: z.ZodString; importPhaseRngSeed: z.ZodAny; importPhaseUnixTimestamp: z.ZodAny; }, "passthrough", z.ZodTypeAny, { serverVersion: string; importPhaseRngSeed?: any; importPhaseUnixTimestamp?: any; }, { serverVersion: string; importPhaseRngSeed?: any; importPhaseUnixTimestamp?: any; }>; }, "passthrough", z.ZodTypeAny, { definition: { path: string; childComponents: { name: string; path: string; env?: [string, { type: "value"; value: string; } | { type: "envVar"; name: string; }][] | null | undefined; }[]; exports: { type: "branch"; branch: [string, import("./componentDefinition.js").ComponentExports][]; }; definitionType: { type: "app"; httpPrefix?: string | undefined; } | { type: "childComponent"; name: string; }; httpMounts: Record; envVars?: [string, { type: "value"; value: string; optional?: boolean | undefined; }][] | null | undefined; }; functions: Record; udfConfig: { serverVersion: string; importPhaseRngSeed?: any; importPhaseUnixTimestamp?: any; }; schema?: { schemaValidation: boolean; tables: { tableName: string; indexes: { fields: string[]; indexDescriptor: string; }[]; documentType: import("./validator.js").ConvexValidator; searchIndexes?: { searchField: string; filterFields: string[]; indexDescriptor: string; }[] | null | undefined; vectorIndexes?: { filterFields: string[]; vectorField: string; indexDescriptor: string; dimensions?: number | undefined; }[] | null | undefined; }[]; } | null | undefined; }, { definition: { path: string; childComponents: { name: string; path: string; env?: [string, { type: "value"; value: string; } | { type: "envVar"; name: string; }][] | null | undefined; }[]; exports: { type: "branch"; branch: [string, import("./componentDefinition.js").ComponentExports][]; }; definitionType: { type: "app"; httpPrefix?: string | undefined; } | { type: "childComponent"; name: string; }; httpMounts: Record; envVars?: [string, { type: "value"; value: string; optional?: boolean | undefined; }][] | null | undefined; }; functions: Record; udfConfig: { serverVersion: string; importPhaseRngSeed?: any; importPhaseUnixTimestamp?: any; }; schema?: { schemaValidation: boolean; tables: { tableName: string; indexes: { fields: string[]; indexDescriptor: string; }[]; documentType: import("./validator.js").ConvexValidator; searchIndexes?: { searchField: string; filterFields: string[]; indexDescriptor: string; }[] | null | undefined; vectorIndexes?: { filterFields: string[]; vectorField: string; indexDescriptor: string; dimensions?: number | undefined; }[] | null | undefined; }[]; } | null | undefined; }>>; app: z.ZodType; schemaChange: z.ZodObject<{ allocatedComponentIds: z.ZodAny; schemaIds: z.ZodAny; indexDiffs: z.ZodOptional; fields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "database"; fields: string[]; name: string; }, { type: "database"; fields: string[]; name: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"search">; searchField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "search"; name: string; searchField: string; filterFields: string[]; }, { type: "search"; name: string; searchField: string; filterFields: string[]; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"vector">; dimensions: z.ZodNumber; vectorField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }>]>, z.ZodObject<{ staged: z.ZodOptional; }, "strip", z.ZodTypeAny, { staged?: boolean | undefined; }, { staged?: boolean | undefined; }>>, "many">; removed_indexes: z.ZodArray; fields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "database"; fields: string[]; name: string; }, { type: "database"; fields: string[]; name: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"search">; searchField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "search"; name: string; searchField: string; filterFields: string[]; }, { type: "search"; name: string; searchField: string; filterFields: string[]; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"vector">; dimensions: z.ZodNumber; vectorField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }>]>, z.ZodObject<{ staged: z.ZodOptional; }, "strip", z.ZodTypeAny, { staged?: boolean | undefined; }, { staged?: boolean | undefined; }>>, "many">; enabled_indexes: z.ZodOptional; fields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "database"; fields: string[]; name: string; }, { type: "database"; fields: string[]; name: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"search">; searchField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "search"; name: string; searchField: string; filterFields: string[]; }, { type: "search"; name: string; searchField: string; filterFields: string[]; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"vector">; dimensions: z.ZodNumber; vectorField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }>]>, z.ZodObject<{ staged: z.ZodOptional; }, "strip", z.ZodTypeAny, { staged?: boolean | undefined; }, { staged?: boolean | undefined; }>>, "many">>; disabled_indexes: z.ZodOptional; fields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "database"; fields: string[]; name: string; }, { type: "database"; fields: string[]; name: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"search">; searchField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "search"; name: string; searchField: string; filterFields: string[]; }, { type: "search"; name: string; searchField: string; filterFields: string[]; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"vector">; dimensions: z.ZodNumber; vectorField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }>]>, z.ZodObject<{ staged: z.ZodOptional; }, "strip", z.ZodTypeAny, { staged?: boolean | undefined; }, { staged?: boolean | undefined; }>>, "many">>; }, "passthrough", z.ZodTypeAny, { added_indexes: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[]; removed_indexes: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[]; enabled_indexes?: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[] | undefined; disabled_indexes?: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[] | undefined; }, { added_indexes: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[]; removed_indexes: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[]; enabled_indexes?: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[] | undefined; disabled_indexes?: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[] | undefined; }>>>; }, "passthrough", z.ZodTypeAny, { allocatedComponentIds?: any; schemaIds?: any; indexDiffs?: Record | undefined; }, { allocatedComponentIds?: any; schemaIds?: any; indexDiffs?: Record | undefined; }>; }, "passthrough", z.ZodTypeAny, { app: import("./checkedComponent.js").CheckedComponent; environmentVariables: Record; externalDepsId: string | null; componentDefinitionPackages: Record; appAuth: (z.objectOutputType<{ applicationID: z.ZodString; domain: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"customJwt">; applicationID: z.ZodNullable; issuer: z.ZodString; jwks: z.ZodString; algorithm: z.ZodString; }, z.ZodTypeAny, "passthrough">)[]; analysis: Record; envVars?: [string, { type: "value"; value: string; optional?: boolean | undefined; }][] | null | undefined; }; functions: Record; udfConfig: { serverVersion: string; importPhaseRngSeed?: any; importPhaseUnixTimestamp?: any; }; schema?: { schemaValidation: boolean; tables: { tableName: string; indexes: { fields: string[]; indexDescriptor: string; }[]; documentType: import("./validator.js").ConvexValidator; searchIndexes?: { searchField: string; filterFields: string[]; indexDescriptor: string; }[] | null | undefined; vectorIndexes?: { filterFields: string[]; vectorField: string; indexDescriptor: string; dimensions?: number | undefined; }[] | null | undefined; }[]; } | null | undefined; }>; schemaChange: { allocatedComponentIds?: any; schemaIds?: any; indexDiffs?: Record | undefined; }; }, { app: import("./checkedComponent.js").CheckedComponent; environmentVariables: Record; externalDepsId: string | null; componentDefinitionPackages: Record; appAuth: (z.objectInputType<{ applicationID: z.ZodString; domain: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"customJwt">; applicationID: z.ZodNullable; issuer: z.ZodString; jwks: z.ZodString; algorithm: z.ZodString; }, z.ZodTypeAny, "passthrough">)[]; analysis: Record; envVars?: [string, { type: "value"; value: string; optional?: boolean | undefined; }][] | null | undefined; }; functions: Record; udfConfig: { serverVersion: string; importPhaseRngSeed?: any; importPhaseUnixTimestamp?: any; }; schema?: { schemaValidation: boolean; tables: { tableName: string; indexes: { fields: string[]; indexDescriptor: string; }[]; documentType: import("./validator.js").ConvexValidator; searchIndexes?: { searchField: string; filterFields: string[]; indexDescriptor: string; }[] | null | undefined; vectorIndexes?: { filterFields: string[]; vectorField: string; indexDescriptor: string; dimensions?: number | undefined; }[] | null | undefined; }[]; } | null | undefined; }>; schemaChange: { allocatedComponentIds?: any; schemaIds?: any; indexDiffs?: Record | undefined; }; }>; export type StartPushResponse = z.infer; export declare const evaluatePushResponse: z.ZodObject<{ schemaChange: z.ZodObject<{ allocatedComponentIds: z.ZodAny; schemaIds: z.ZodAny; indexDiffs: z.ZodOptional; fields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "database"; fields: string[]; name: string; }, { type: "database"; fields: string[]; name: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"search">; searchField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "search"; name: string; searchField: string; filterFields: string[]; }, { type: "search"; name: string; searchField: string; filterFields: string[]; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"vector">; dimensions: z.ZodNumber; vectorField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }>]>, z.ZodObject<{ staged: z.ZodOptional; }, "strip", z.ZodTypeAny, { staged?: boolean | undefined; }, { staged?: boolean | undefined; }>>, "many">; removed_indexes: z.ZodArray; fields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "database"; fields: string[]; name: string; }, { type: "database"; fields: string[]; name: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"search">; searchField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "search"; name: string; searchField: string; filterFields: string[]; }, { type: "search"; name: string; searchField: string; filterFields: string[]; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"vector">; dimensions: z.ZodNumber; vectorField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }>]>, z.ZodObject<{ staged: z.ZodOptional; }, "strip", z.ZodTypeAny, { staged?: boolean | undefined; }, { staged?: boolean | undefined; }>>, "many">; enabled_indexes: z.ZodOptional; fields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "database"; fields: string[]; name: string; }, { type: "database"; fields: string[]; name: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"search">; searchField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "search"; name: string; searchField: string; filterFields: string[]; }, { type: "search"; name: string; searchField: string; filterFields: string[]; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"vector">; dimensions: z.ZodNumber; vectorField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }>]>, z.ZodObject<{ staged: z.ZodOptional; }, "strip", z.ZodTypeAny, { staged?: boolean | undefined; }, { staged?: boolean | undefined; }>>, "many">>; disabled_indexes: z.ZodOptional; fields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "database"; fields: string[]; name: string; }, { type: "database"; fields: string[]; name: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"search">; searchField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "search"; name: string; searchField: string; filterFields: string[]; }, { type: "search"; name: string; searchField: string; filterFields: string[]; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"vector">; dimensions: z.ZodNumber; vectorField: z.ZodString; filterFields: z.ZodArray; }, "passthrough", z.ZodTypeAny, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }, { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }>]>, z.ZodObject<{ staged: z.ZodOptional; }, "strip", z.ZodTypeAny, { staged?: boolean | undefined; }, { staged?: boolean | undefined; }>>, "many">>; }, "passthrough", z.ZodTypeAny, { added_indexes: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[]; removed_indexes: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[]; enabled_indexes?: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[] | undefined; disabled_indexes?: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[] | undefined; }, { added_indexes: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[]; removed_indexes: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[]; enabled_indexes?: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[] | undefined; disabled_indexes?: (({ type: "database"; fields: string[]; name: string; } | { type: "search"; name: string; searchField: string; filterFields: string[]; } | { type: "vector"; name: string; filterFields: string[]; vectorField: string; dimensions: number; }) & { staged?: boolean | undefined; })[] | undefined; }>>>; }, "passthrough", z.ZodTypeAny, { allocatedComponentIds?: any; schemaIds?: any; indexDiffs?: Record | undefined; }, { allocatedComponentIds?: any; schemaIds?: any; indexDiffs?: Record | undefined; }>; }, "passthrough", z.ZodTypeAny, { schemaChange: { allocatedComponentIds?: any; schemaIds?: any; indexDiffs?: Record | undefined; }; }, { schemaChange: { allocatedComponentIds?: any; schemaIds?: any; indexDiffs?: Record | undefined; }; }>; export type EvaluatePushResponse = z.infer; export declare const componentSchemaStatus: z.ZodObject<{ schemaValidationComplete: z.ZodBoolean; indexesComplete: z.ZodNumber; indexesTotal: z.ZodNumber; }, "passthrough", z.ZodTypeAny, { schemaValidationComplete: boolean; indexesComplete: number; indexesTotal: number; }, { schemaValidationComplete: boolean; indexesComplete: number; indexesTotal: number; }>; export type ComponentSchemaStatus = z.infer; export declare const schemaStatus: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral<"inProgress">; components: z.ZodRecord>; }, "passthrough", z.ZodTypeAny, { type: "inProgress"; components: Record; }, { type: "inProgress"; components: Record; }>, z.ZodObject<{ type: z.ZodLiteral<"failed">; error: z.ZodString; componentPath: z.ZodString; tableName: z.ZodNullable; }, "passthrough", z.ZodTypeAny, { type: "failed"; tableName: string | null; error: string; componentPath: string; }, { type: "failed"; tableName: string | null; error: string; componentPath: string; }>, z.ZodObject<{ type: z.ZodLiteral<"raceDetected">; }, "passthrough", z.ZodTypeAny, { type: "raceDetected"; }, { type: "raceDetected"; }>, z.ZodObject<{ type: z.ZodLiteral<"complete">; }, "passthrough", z.ZodTypeAny, { type: "complete"; }, { type: "complete"; }>]>; export type SchemaStatus = z.infer; //# sourceMappingURL=startPush.d.ts.map