export interface RunWranglerOptions { /** * Capture stdout/stderr instead of inheriting them. Needed by callers that * read wrangler's output — provisioning parses a created resource's id out * of stdout, and wants a failure reason richer than "non-zero exit". */ captureOutput?: boolean; } export interface RunWranglerResult { success: boolean; /** Captured stdout. Empty unless `captureOutput` was set and it succeeded. */ stdout: string; /** * Best-effort failure description: captured stderr when `captureOutput` was * set, else the thrown error's message. Empty on success. */ reason: string; } export declare function runWrangler(args: string[], cwd: string, options?: RunWranglerOptions): RunWranglerResult;