import { Context } from "../../bundler/context.js"; import { Span } from "./tracing.js"; import { StartPushRequest } from "./deployApi/startPush.js"; import { DeveloperIndexConfig } from "./deployApi/finishPush.js"; import { EvaluateSchemaResponse } from "./deployApi/evaluateSchema.js"; import { SchemaEvaluation } from "./schemaEvaluation.js"; type CheckOptions = { url: string; deploymentName: string | null; adminKey: string; }; type DeletedIndex = { componentPath: string; index: DeveloperIndexConfig; documentsCount: number; replacedBy: DeveloperIndexConfig | null; }; export declare function checkForLargeIndexDeletion({ ctx, span, request, options, schemaEvaluation, askForConfirmation, }: { ctx: Context; span: Span; request: StartPushRequest; options: CheckOptions; schemaEvaluation: SchemaEvaluation; askForConfirmation: boolean; }): Promise; export declare function deletedIndexesFromSchemaEvaluation(response: EvaluateSchemaResponse): DeletedIndex[]; export declare function deletedIndexesFromTableSizes({ ctx, span, request, options, }: { ctx: Context; span: Span; request: StartPushRequest; options: CheckOptions; }): Promise; export {}; //# sourceMappingURL=checkForLargeIndexDeletion.d.ts.map