export interface CommandOptions {
    cwd?: string;
    dryRun?: boolean;
    yes?: boolean;
}
export declare function findAstroConfig(cwd?: string): string | null;
/**
 * Find the matching closing brace/bracket/paren, aware of string literals.
 */
export declare function findMatchingClose(text: string, start: number): number;
/**
 * Extract the text between the outermost { } of defineConfig({ ... })
 */
export declare function extractConfigBody(content: string): string;
/**
 * Remove a top-level property from an object literal body text.
 */
export declare function removeProperty(body: string, propName: string): string;
/**
 * Assemble a complete config file from import lines and a body string.
 */
export declare function assembleConfig(imports: string[], body: string): string;
//# sourceMappingURL=utils.d.ts.map