/** * Clear command - clears a local workspace or branch by deleting and recreating it */ import { type DevMode } from "../config.js"; /** * Clear command options */ export interface ClearCommandOptions { /** Working directory (defaults to cwd) */ cwd?: string; /** Override the dev mode from config */ devModeOverride?: DevMode; } /** * Result of clearing a workspace or branch */ export interface ClearResult { /** Whether the operation was successful */ success: boolean; /** Name of the cleared workspace or branch */ name?: string; /** Whether local mode was used */ isLocal?: boolean; /** Error message if failed */ error?: string; } /** * Clear a local workspace or branch by deleting and recreating it * * In local mode: deletes and recreates the local workspace * In branch mode: deletes and recreates the Tinybird branch * * @param options - Command options * @returns Clear result */ export declare function runClear(options?: ClearCommandOptions): Promise; //# sourceMappingURL=clear.d.ts.map