import * as yup from 'yup'; import type { ResolvedConfig } from '../../../PipelineManagement.context'; import type { PipelineFormData, SourceData } from '../PipelineForm.types'; export declare const buildPipelineFormSchema: (config: ResolvedConfig) => yup.ObjectSchema<{ target: { strategy: "selection"; databaseId: string; } | { host: string; port: string; password: string; username: string; strategy: "manual"; }; sources: { connectivity: { connectivityType: NonNullable<"awsPrivateLink" | "publicEndpoint" | undefined>; variants: { awsPrivateLink: { state: string; serviceName: string; endpointId: string; vpceId: string; }; } | { publicEndpoint: { host: string; }; }; }; secrets: { variants: { credentials: { password: string; username: string; }; } | { aws: { credentialsSecretArn: string; isValidated: boolean; snowflakeAuth: { method: NonNullable<"password" | "keyPair" | undefined>; variants: {}; }; transport: { variants: {}; transportType: NonNullable<"unencrypted" | "awsTls" | "awsMtls" | undefined>; }; }; }; }; configuration: { variants: { oracle: { port: string; database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; pdb: string; }; } | { mysql: { port: string; database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; serverId: string; }; } | { mariadb: { port: string; database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; serverId: string; }; } | { mongodb: { database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; connectionString: string; }; } | { sqlserver: { port: string; database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; }; } | { snowflake: { database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; accountIdentifier: string; warehouse: string; }; } | { postgresql: { port: string; database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; }; }; }; details: { type: NonNullable<"" | "mariadb" | "mongodb" | "mysql" | "oracle" | "postgresql" | "snowflake" | "sqlserver" | undefined>; name: string; }; isSourceTested: boolean; }[]; datasets: { selection: { schemas: Record; }>; }; sourceName: string; }[]; transformations: { jobs: { file?: string | undefined; output?: ({} | undefined)[] | undefined; transform?: ({} | undefined)[] | undefined; source: { db?: string | string[] | undefined; schema?: string | string[] | undefined; row_format?: string | undefined; case_insensitive?: boolean | undefined; server_name?: string | string[] | undefined; table: string | string[]; }; name: string; }[]; processorProperties: { key: string; value: string; id: string; }[]; }; }, yup.AnyObject, { target: { strategy: "selection"; databaseId: string; } | { strategy: "manual"; host: string; port: string; username: string; password: string; }; sources: { connectivity: { connectivityType: NonNullable<"awsPrivateLink" | "publicEndpoint" | undefined>; variants: { awsPrivateLink: { state: string; serviceName: string; endpointId: string; vpceId: string; }; } | { publicEndpoint: { host: string; }; }; }; secrets: { variants: { credentials: { password: string; username: string; }; } | { aws: { credentialsSecretArn: string; isValidated: boolean; snowflakeAuth: { method: NonNullable<"password" | "keyPair" | undefined>; variants: {}; }; transport: { variants: {}; transportType: NonNullable<"unencrypted" | "awsTls" | "awsMtls" | undefined>; }; }; }; }; configuration: { variants: { oracle: { port: string; database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; pdb: string; }; } | { mysql: { port: string; database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; serverId: string; }; } | { mariadb: { port: string; database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; serverId: string; }; } | { mongodb: { database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; connectionString: string; }; } | { sqlserver: { port: string; database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; }; } | { snowflake: { database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; accountIdentifier: string; warehouse: string; }; } | { postgresql: { port: string; database: string; advanced: { source: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; sink: { valueType?: "string" | "number" | "boolean" | undefined; key: string; value: string; id: string; }[]; }; }; }; }; details: { type: NonNullable<"" | "mariadb" | "mongodb" | "mysql" | "oracle" | "postgresql" | "snowflake" | "sqlserver" | undefined>; name: string; }; isSourceTested: boolean; }[]; datasets: { selection: { schemas: Record; }>; }; sourceName: string; }[]; transformations: { jobs: never[]; processorProperties: { id: string; key: string; value: string; }[]; }; }, "">; export declare const applyFormDefaults: (config: ResolvedConfig, data: Partial | null) => PipelineFormData; /** * Builds a single blank source with every variant defaulted, for the * "+ Add source" rail control to append to `PipelineFormData.sources`. */ export declare const getDefaultSourceData: (config: ResolvedConfig) => SourceData;