/** * Configuration schema validation using Zod */ import { z } from 'zod'; import type { CcanywhereConfig } from '../types/index.js'; export declare const RepoKindSchema: z.ZodEnum<["github", "gitlab", "bitbucket", "gitee"]>; export declare const StorageProviderSchema: z.ZodEnum<["s3", "r2", "oss"]>; export declare const NotificationChannelSchema: z.ZodEnum<["telegram", "dingtalk", "wecom", "email"]>; export declare const RepoConfigSchema: z.ZodOptional>; url: z.ZodOptional; branch: z.ZodOptional>; }, "strip", z.ZodTypeAny, { kind?: "github" | "gitlab" | "bitbucket" | "gitee" | undefined; url?: string | undefined; branch?: string | undefined; }, { kind?: "github" | "gitlab" | "bitbucket" | "gitee" | undefined; url?: string | undefined; branch?: string | undefined; }>>; export declare const UrlsConfigSchema: z.ZodOptional; }, "strip", z.ZodTypeAny, { artifacts?: string | undefined; }, { artifacts?: string | undefined; }>>; export declare const DeploymentConfigSchema: z.ZodOptional]>>; export declare const TelegramConfigSchema: z.ZodObject<{ botToken: z.ZodString; chatId: z.ZodString; }, "strip", z.ZodTypeAny, { botToken: string; chatId: string; }, { botToken: string; chatId: string; }>; export declare const DingTalkConfigSchema: z.ZodEffects; export declare const WeComConfigSchema: z.ZodEffects; export declare const SmtpConfigSchema: z.ZodObject<{ host: z.ZodString; port: z.ZodNumber; user: z.ZodString; pass: z.ZodString; }, "strip", z.ZodTypeAny, { host: string; port: number; user: string; pass: string; }, { host: string; port: number; user: string; pass: string; }>; export declare const EmailConfigSchema: z.ZodObject<{ to: z.ZodString; from: z.ZodOptional; smtp: z.ZodOptional>; }, "strip", z.ZodTypeAny, { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; }, { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; }>; export declare const NotificationsConfigSchema: z.ZodEffects, "many">; telegram: z.ZodOptional>; dingtalk: z.ZodOptional>; wecom: z.ZodOptional>; email: z.ZodOptional; smtp: z.ZodOptional>; }, "strip", z.ZodTypeAny, { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; }, { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; }>>; }, "strip", z.ZodTypeAny, { channels: ("telegram" | "dingtalk" | "wecom" | "email")[]; telegram?: { botToken: string; chatId: string; } | undefined; dingtalk?: string | undefined; wecom?: string | undefined; email?: { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; } | undefined; }, { channels: ("telegram" | "dingtalk" | "wecom" | "email")[]; telegram?: { botToken: string; chatId: string; } | undefined; dingtalk?: string | undefined; wecom?: string | undefined; email?: { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; } | undefined; }>, { channels: ("telegram" | "dingtalk" | "wecom" | "email")[]; telegram?: { botToken: string; chatId: string; } | undefined; dingtalk?: string | undefined; wecom?: string | undefined; email?: { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; } | undefined; }, { channels: ("telegram" | "dingtalk" | "wecom" | "email")[]; telegram?: { botToken: string; chatId: string; } | undefined; dingtalk?: string | undefined; wecom?: string | undefined; email?: { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; } | undefined; }>; export declare const BuildConfigSchema: z.ZodObject<{ base: z.ZodDefault; lockTimeout: z.ZodDefault; cleanupDays: z.ZodDefault; excludePaths: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { base: string; lockTimeout: number; cleanupDays: number; excludePaths?: string[] | undefined; }, { base?: string | undefined; lockTimeout?: number | undefined; cleanupDays?: number | undefined; excludePaths?: string[] | undefined; }>; export declare const TestConfigSchema: z.ZodOptional; configFile: z.ZodOptional; reporter: z.ZodOptional; timeout: z.ZodOptional; workers: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; configFile?: string | undefined; reporter?: string | undefined; timeout?: number | undefined; workers?: number | undefined; }, { enabled?: boolean | undefined; configFile?: string | undefined; reporter?: string | undefined; timeout?: number | undefined; workers?: number | undefined; }>>; export declare const SecurityConfigSchema: z.ZodOptional; linkExpiry: z.ZodOptional; }, "strip", z.ZodTypeAny, { readOnly: boolean; linkExpiry?: number | undefined; }, { readOnly?: boolean | undefined; linkExpiry?: number | undefined; }>>; export declare const S3ConfigSchema: z.ZodObject<{ accessKeyId: z.ZodString; secretAccessKey: z.ZodString; region: z.ZodString; bucket: z.ZodString; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; }, { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; }>; export declare const R2ConfigSchema: z.ZodObject<{ accountId: z.ZodString; accessKeyId: z.ZodString; secretAccessKey: z.ZodString; bucket: z.ZodString; }, "strip", z.ZodTypeAny, { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; }, { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; }>; export declare const OSSConfigSchema: z.ZodObject<{ accessKeyId: z.ZodString; accessKeySecret: z.ZodString; region: z.ZodString; bucket: z.ZodString; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; }, { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; }>; export declare const StorageConfigSchema: z.ZodOptional; folder: z.ZodOptional; s3: z.ZodOptional; }, "strip", z.ZodTypeAny, { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; }, { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; }>>; r2: z.ZodOptional>; oss: z.ZodOptional; }, "strip", z.ZodTypeAny, { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; }, { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }>, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }>>; export declare const ArtifactsConfigSchema: z.ZodOptional; retentionDays: z.ZodOptional>; maxSize: z.ZodOptional>; storage: z.ZodOptional; folder: z.ZodOptional; s3: z.ZodOptional; }, "strip", z.ZodTypeAny, { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; }, { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; }>>; r2: z.ZodOptional>; oss: z.ZodOptional; }, "strip", z.ZodTypeAny, { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; }, { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }>, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { baseUrl?: string | undefined; retentionDays?: number | undefined; maxSize?: string | undefined; storage?: { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; } | undefined; }, { baseUrl?: string | undefined; retentionDays?: number | undefined; maxSize?: string | undefined; storage?: { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; } | undefined; }>>; export declare const CcanywhereConfigSchema: z.ZodObject<{ repo: z.ZodOptional>; url: z.ZodOptional; branch: z.ZodOptional>; }, "strip", z.ZodTypeAny, { kind?: "github" | "gitlab" | "bitbucket" | "gitee" | undefined; url?: string | undefined; branch?: string | undefined; }, { kind?: "github" | "gitlab" | "bitbucket" | "gitee" | undefined; url?: string | undefined; branch?: string | undefined; }>>; urls: z.ZodOptional; }, "strip", z.ZodTypeAny, { artifacts?: string | undefined; }, { artifacts?: string | undefined; }>>; deployment: z.ZodOptional]>>; notifications: z.ZodOptional, "many">; telegram: z.ZodOptional>; dingtalk: z.ZodOptional>; wecom: z.ZodOptional>; email: z.ZodOptional; smtp: z.ZodOptional>; }, "strip", z.ZodTypeAny, { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; }, { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; }>>; }, "strip", z.ZodTypeAny, { channels: ("telegram" | "dingtalk" | "wecom" | "email")[]; telegram?: { botToken: string; chatId: string; } | undefined; dingtalk?: string | undefined; wecom?: string | undefined; email?: { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; } | undefined; }, { channels: ("telegram" | "dingtalk" | "wecom" | "email")[]; telegram?: { botToken: string; chatId: string; } | undefined; dingtalk?: string | undefined; wecom?: string | undefined; email?: { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; } | undefined; }>, { channels: ("telegram" | "dingtalk" | "wecom" | "email")[]; telegram?: { botToken: string; chatId: string; } | undefined; dingtalk?: string | undefined; wecom?: string | undefined; email?: { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; } | undefined; }, { channels: ("telegram" | "dingtalk" | "wecom" | "email")[]; telegram?: { botToken: string; chatId: string; } | undefined; dingtalk?: string | undefined; wecom?: string | undefined; email?: { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; } | undefined; }>>; build: z.ZodOptional; lockTimeout: z.ZodDefault; cleanupDays: z.ZodDefault; excludePaths: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { base: string; lockTimeout: number; cleanupDays: number; excludePaths?: string[] | undefined; }, { base?: string | undefined; lockTimeout?: number | undefined; cleanupDays?: number | undefined; excludePaths?: string[] | undefined; }>>; test: z.ZodOptional; configFile: z.ZodOptional; reporter: z.ZodOptional; timeout: z.ZodOptional; workers: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; configFile?: string | undefined; reporter?: string | undefined; timeout?: number | undefined; workers?: number | undefined; }, { enabled?: boolean | undefined; configFile?: string | undefined; reporter?: string | undefined; timeout?: number | undefined; workers?: number | undefined; }>>; security: z.ZodOptional; linkExpiry: z.ZodOptional; }, "strip", z.ZodTypeAny, { readOnly: boolean; linkExpiry?: number | undefined; }, { readOnly?: boolean | undefined; linkExpiry?: number | undefined; }>>; artifacts: z.ZodOptional; retentionDays: z.ZodOptional>; maxSize: z.ZodOptional>; storage: z.ZodOptional; folder: z.ZodOptional; s3: z.ZodOptional; }, "strip", z.ZodTypeAny, { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; }, { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; }>>; r2: z.ZodOptional>; oss: z.ZodOptional; }, "strip", z.ZodTypeAny, { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; }, { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }>, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { baseUrl?: string | undefined; retentionDays?: number | undefined; maxSize?: string | undefined; storage?: { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; } | undefined; }, { baseUrl?: string | undefined; retentionDays?: number | undefined; maxSize?: string | undefined; storage?: { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; } | undefined; }>>; storage: z.ZodOptional; folder: z.ZodOptional; s3: z.ZodOptional; }, "strip", z.ZodTypeAny, { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; }, { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; }>>; r2: z.ZodOptional>; oss: z.ZodOptional; }, "strip", z.ZodTypeAny, { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; }, { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }>, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }, { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { artifacts?: { baseUrl?: string | undefined; retentionDays?: number | undefined; maxSize?: string | undefined; storage?: { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; } | undefined; } | undefined; storage?: { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; } | undefined; repo?: { kind?: "github" | "gitlab" | "bitbucket" | "gitee" | undefined; url?: string | undefined; branch?: string | undefined; } | undefined; urls?: { artifacts?: string | undefined; } | undefined; deployment?: string | { webhook: string; } | undefined; notifications?: { channels: ("telegram" | "dingtalk" | "wecom" | "email")[]; telegram?: { botToken: string; chatId: string; } | undefined; dingtalk?: string | undefined; wecom?: string | undefined; email?: { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; } | undefined; } | undefined; build?: { base: string; lockTimeout: number; cleanupDays: number; excludePaths?: string[] | undefined; } | undefined; test?: { enabled: boolean; configFile?: string | undefined; reporter?: string | undefined; timeout?: number | undefined; workers?: number | undefined; } | undefined; security?: { readOnly: boolean; linkExpiry?: number | undefined; } | undefined; }, { artifacts?: { baseUrl?: string | undefined; retentionDays?: number | undefined; maxSize?: string | undefined; storage?: { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; } | undefined; } | undefined; storage?: { provider: "s3" | "r2" | "oss"; s3?: { accessKeyId: string; secretAccessKey: string; region: string; bucket: string; endpoint?: string | undefined; } | undefined; r2?: { accessKeyId: string; secretAccessKey: string; bucket: string; accountId: string; } | undefined; oss?: { accessKeyId: string; region: string; bucket: string; accessKeySecret: string; endpoint?: string | undefined; } | undefined; folder?: string | undefined; } | undefined; repo?: { kind?: "github" | "gitlab" | "bitbucket" | "gitee" | undefined; url?: string | undefined; branch?: string | undefined; } | undefined; urls?: { artifacts?: string | undefined; } | undefined; deployment?: string | { webhook: string; } | undefined; notifications?: { channels: ("telegram" | "dingtalk" | "wecom" | "email")[]; telegram?: { botToken: string; chatId: string; } | undefined; dingtalk?: string | undefined; wecom?: string | undefined; email?: { to: string; from?: string | undefined; smtp?: { host: string; port: number; user: string; pass: string; } | undefined; } | undefined; } | undefined; build?: { base?: string | undefined; lockTimeout?: number | undefined; cleanupDays?: number | undefined; excludePaths?: string[] | undefined; } | undefined; test?: { enabled?: boolean | undefined; configFile?: string | undefined; reporter?: string | undefined; timeout?: number | undefined; workers?: number | undefined; } | undefined; security?: { readOnly?: boolean | undefined; linkExpiry?: number | undefined; } | undefined; }>; /** * Validate configuration object */ export declare function validateConfig(config: unknown): CcanywhereConfig; /** * Get default configuration */ export declare function getDefaultConfig(): Partial; //# sourceMappingURL=schema.d.ts.map