import type { Command } from "commander"; import { z } from "zod"; export interface GlobalOptions { apiKey?: string; savedKey?: string; format?: "table" | "json" | "csv"; baseUrl?: string; debug?: boolean; } declare const BaseGlobalOptionsSchema: z.ZodObject<{ apiKey: z.ZodOptional; savedKey: z.ZodOptional; baseUrl: z.ZodOptional; format: z.ZodOptional>; debug: z.ZodOptional; }, z.core.$strip>; export declare const GlobalOptionsSchema: z.ZodObject<{ apiKey: z.ZodOptional; savedKey: z.ZodOptional; baseUrl: z.ZodOptional; format: z.ZodOptional>; debug: z.ZodOptional; }, z.core.$strip>; export declare const extendGlobalOptions: (extension: T) => z.ZodIntersection; savedKey: z.ZodOptional; baseUrl: z.ZodOptional; format: z.ZodOptional>; debug: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ -readonly [P in keyof T]: T[P]; }, z.core.$strip>>; export { BaseGlobalOptionsSchema }; export declare function setupGlobalOptions(program: Command): void; export declare function addGlobalOptions(command: Command): Command; export declare function parseOptions(schema: z.ZodSchema, options: Record): T; //# sourceMappingURL=global-options.d.ts.map