//#region src/constants.d.ts declare const PLATFORM_CHOICES: readonly ["git", "vsce", "ovsx"]; declare const DEFAULT_PUBLISH_OPTIONS: { baseUrl: string; baseUrlApi: string; include: ("git" | "vsce" | "ovsx")[]; exclude: never[]; retry: number; retryDelay: number; }; //#endregion //#region src/types.d.ts type MaybePromise = T | Promise; type Platform = (typeof PLATFORM_CHOICES)[number]; interface CommonOptions { cwd?: string; dry?: boolean; include?: Platform[]; exclude?: Platform[]; /** * Retry count * @default 3 */ retry?: number; /** * Retry delay * @default 1000ms */ retryDelay?: number; } interface CommandOptions extends CommonOptions { /** * Github base url * @default github.com */ baseUrl?: string; /** * Github base API url * @default api.github.com */ baseUrlApi?: string; /** * Github repo */ repo?: string; /** * Git tag */ tag?: string; /** * Extension name */ name?: string; /** * Extension version */ version?: string; /** * Whether to install dependencies * @default false */ dependencies?: boolean; /** * GitHub Token */ githubToken?: string; /** * Visual Studio Code Extension Access Token */ vscePat?: string; /** * Open Vsx Registry Access Token */ ovsxPat?: string; } type Options = Required; //#endregion //#region src/index.d.ts declare function defineConfig(config: Partial): Partial>; //#endregion export { CommandOptions, CommonOptions, DEFAULT_PUBLISH_OPTIONS, MaybePromise, Options, PLATFORM_CHOICES, Platform, defineConfig };