import type { Writable } from "node:stream"; export interface ExecResult { readonly code: number; readonly stdout: string; readonly stderr: string; } /** Run a command, capturing output. */ export type Exec = (argv: readonly string[]) => Promise; /** Run a command with the user's terminal attached (interactive auth). */ export type ExecInteractive = (argv: readonly string[]) => Promise; export interface SetupSpriteOpts { readonly stdout?: Writable; readonly stderr?: Writable; readonly exec?: Exec; readonly execInteractive?: ExecInteractive; readonly fetch?: typeof fetch; } export declare function runSetupSprite(args: readonly string[], opts?: SetupSpriteOpts): Promise; //# sourceMappingURL=setup-sprite.d.ts.map