/** * `qfg migrate --from launchdarkly` — the MigrationSource implementation. * * Wires the LaunchDarkly fetcher (`launchdarkly/api.ts`) and converter * (`launchdarkly/translate.ts`) into the source-agnostic migration framework. * Both write modes (`--dir`, `--push`) are inherited for free — this source * only has to produce `QuonfigFile[]`. * * Design is frozen in `launchdarkly.README.md` / `project/plans/migrator-launch-darkly.md`. */ import { ConversionReport } from '../quonfig-target/report.js'; import { type MigrationSource } from '../source.js'; import { type RetentionHorizon } from './launchdarkly/audit.js'; /** * Override the LaunchDarkly project key for this run. Called by the `qfg migrate` * command from its `--project` flag (which itself falls back to the * `LAUNCHDARKLY_PROJECT_KEY` env var). Mirrors `applyLaunchDarklyBaseUrl()` — * the command layer threads run-scoped config into the source singleton. */ export declare function setLaunchDarklyProjectKey(projectKey: string): void; /** * Enable Phase-2 history backfill for this run. When set, `fetchChanges` walks * the LaunchDarkly audit log instead of taking a current-state snapshot, and * `validateAuth` runs the retention pre-flight. Called by `qfg migrate` from * its `--full-summary` flag. */ export declare function setLaunchDarklyFullSummary(on: boolean): void; /** * The retention pre-flight result from the last full-summary `validateAuth`, * or null. The command reads this and tells the user the real history horizon * BEFORE the slow audit walk starts (plan §4.1.1). */ export declare function getLaunchDarklyRetentionHorizon(): null | RetentionHorizon; /** The full conversion report — every skip/drop/coerce note from this run. */ export declare function getConversionReport(): ConversionReport; export declare const launchdarklySource: MigrationSource; export declare function __resetLaunchDarklySourceForTests(): void;