/** * Factory reset flow module * * Provides the complete interactive factory reset experience using @clack/prompts. * This flow handles: * - Artifact discovery via callback * - Artifact listing in a note * - Type-confirm safety prompt * - Artifact deletion via callback */ export type FactoryResetArtifact = { path: string; type: "directory" | "file"; }; export type FindArtifactsResult = { artifacts: Array; }; export type FactoryResetFlowCallbacks = { onFindArtifacts: (args: { path: string; }) => Promise; onDeleteArtifacts: (args: { artifacts: Array; }) => Promise; }; export type FactoryResetFlowResult = { deletedCount: number; statusMessage: string; }; /** * Execute the interactive factory reset flow * * @param args - Flow configuration * @param args.agentName - Display name of the agent being reset * @param args.path - Directory to search from * @param args.callbacks - Callback functions for side-effectful operations * * @returns Result on success, null on cancel/decline */ export declare const factoryResetFlow: (args: { agentName: string; path: string; callbacks: FactoryResetFlowCallbacks; }) => Promise; //# sourceMappingURL=factoryReset.d.ts.map