import { type SchemaCreateBackfillJob, type SchemaSqlOperation } from '../openapi/openApiTypes.js'; import type { IntegrationReadType } from '../types.js'; import { type LanguageQueryType } from './query-predicate.js'; import { type SignalDataType, type SignalSourceApiClient, type SignalSourceInputs } from './signal-source.js'; export interface BackfillCommandInputs extends SignalSourceInputs { sinkIds?: string[]; start?: string; end?: string; query?: string; queryType?: LanguageQueryType; limit?: number; tags?: string[]; sqlOperation?: SchemaSqlOperation; preserveSql?: boolean; } export interface BackfillApiClient extends SignalSourceApiClient { getIntegrationById(id: string): Promise; } interface BackfillJobInputs { dataType: SignalDataType; datasetId: string; teamIds: string[]; sinks: IntegrationReadType[]; sqlOperation?: SchemaSqlOperation; } interface SkippedBackfillSink { sink: IntegrationReadType; reason: string; } export interface BackfillResolvedInputs extends BackfillJobInputs { skippedSinks: SkippedBackfillSink[]; } export declare function validateBackfillInputs(options: BackfillCommandInputs): void; export declare function resolveBackfillInputs(options: BackfillCommandInputs, apiClient: BackfillApiClient, now?: Date): Promise; export declare function buildBackfillRequest(options: BackfillCommandInputs, resolved: BackfillJobInputs, now?: Date): SchemaCreateBackfillJob; export declare function validateSpansSqlOperation(sql: unknown): asserts sql is SchemaSqlOperation; export {}; //# sourceMappingURL=backfill.d.ts.map