import { z } from 'zod'; export declare const specifyCLIConfigurationPropertiesSchema: z.ZodObject<{ repository: z.ZodOptional; personalAccessToken: z.ZodOptional; }, "strip", z.ZodTypeAny, { repository?: string | undefined; personalAccessToken?: string | undefined; }, { repository?: string | undefined; personalAccessToken?: string | undefined; }>; export type SpecifyCLIConfigurationProperties = z.infer; export type WithSpecifyCLIConfigurationProperties = T & SpecifyCLIConfigurationProperties; export type SpecifyCLIConfigurationFile = WithSpecifyCLIConfigurationProperties; export declare const specifyGithubConfigurationPropertiesSchema: z.ZodObject<{ repository: z.ZodString; head: z.ZodOptional; base: z.ZodOptional; }, "strip", z.ZodTypeAny, { repository: string; head?: string | undefined; base?: string | undefined; }, { repository: string; head?: string | undefined; base?: string | undefined; }>; export declare const configurationVersionMap: { readonly v1: "1"; readonly v2: "2"; }; export type SpecifyConfigurationV1Version = typeof configurationVersionMap.v1; export type SpecifyConfigurationV2Version = typeof configurationVersionMap.v2; export declare const specifyConfigurationVersionSchema: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"2">]>; export type SpecifyConfigurationVersion = z.infer; export declare function evaluateSpecifyConfigurationVersion(maybeVersion: unknown): "1" | "2"; export declare const specifyV1TokenTypesList: readonly ["color", "measurement", "duration", "opacity", "depth", "vector", "bitmap", "font", "shadow", "border", "textStyle", "gradient"]; export declare const specifyV1TokenTypeSchema: z.ZodUnion<[z.ZodLiteral<"color">, z.ZodLiteral<"measurement">, z.ZodLiteral<"duration">, z.ZodLiteral<"opacity">, z.ZodLiteral<"depth">, z.ZodLiteral<"vector">, z.ZodLiteral<"bitmap">, z.ZodLiteral<"font">, z.ZodLiteral<"shadow">, z.ZodLiteral<"border">, z.ZodLiteral<"textStyle">, z.ZodLiteral<"gradient">]>; export type SpecifyV1TokenType = (typeof specifyV1TokenTypesList)[number]; export declare const specifyConfigurationV1RuleParserSchema: z.ZodObject<{ name: z.ZodString; options: z.ZodOptional>; }, "strict", z.ZodTypeAny, { name: string; options?: Record | undefined; }, { name: string; options?: Record | undefined; }>; export type SpecifyConfigurationV1Parser = z.infer; export declare const specifyConfigurationV1RuleSchema: z.ZodObject<{ name: z.ZodOptional; path: z.ZodString; filter: z.ZodOptional, z.ZodLiteral<"measurement">, z.ZodLiteral<"duration">, z.ZodLiteral<"opacity">, z.ZodLiteral<"depth">, z.ZodLiteral<"vector">, z.ZodLiteral<"bitmap">, z.ZodLiteral<"font">, z.ZodLiteral<"shadow">, z.ZodLiteral<"border">, z.ZodLiteral<"textStyle">, z.ZodLiteral<"gradient">]>, "many">>; }, "strip", z.ZodTypeAny, { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; }, { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; }>>; parsers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { name: string; options?: Record | undefined; }, { name: string; options?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { path: string; name?: string | undefined; filter?: { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; } | undefined; parsers?: { name: string; options?: Record | undefined; }[] | undefined; }, { path: string; name?: string | undefined; filter?: { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; } | undefined; parsers?: { name: string; options?: Record | undefined; }[] | undefined; }>; export declare const specifyConfigurationV1RulesSchema: z.ZodArray; path: z.ZodString; filter: z.ZodOptional, z.ZodLiteral<"measurement">, z.ZodLiteral<"duration">, z.ZodLiteral<"opacity">, z.ZodLiteral<"depth">, z.ZodLiteral<"vector">, z.ZodLiteral<"bitmap">, z.ZodLiteral<"font">, z.ZodLiteral<"shadow">, z.ZodLiteral<"border">, z.ZodLiteral<"textStyle">, z.ZodLiteral<"gradient">]>, "many">>; }, "strip", z.ZodTypeAny, { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; }, { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; }>>; parsers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { name: string; options?: Record | undefined; }, { name: string; options?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { path: string; name?: string | undefined; filter?: { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; } | undefined; parsers?: { name: string; options?: Record | undefined; }[] | undefined; }, { path: string; name?: string | undefined; filter?: { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; } | undefined; parsers?: { name: string; options?: Record | undefined; }[] | undefined; }>, "many">; export type SpecifyConfigurationV1Rule = z.infer; export type SpecifyConfigurationV1Rules = Array; export type SpecifyConfigurationV1Properties = { version?: '1'; rules: Array; }; export type SpecifyCLIConfigurationV1File = WithSpecifyCLIConfigurationProperties; export declare const specifyGithubConfigurationV1FileSchema: z.ZodObject<{ repository: z.ZodString; head: z.ZodOptional; base: z.ZodOptional; version: z.ZodOptional>; rules: z.ZodArray; path: z.ZodString; filter: z.ZodOptional, z.ZodLiteral<"measurement">, z.ZodLiteral<"duration">, z.ZodLiteral<"opacity">, z.ZodLiteral<"depth">, z.ZodLiteral<"vector">, z.ZodLiteral<"bitmap">, z.ZodLiteral<"font">, z.ZodLiteral<"shadow">, z.ZodLiteral<"border">, z.ZodLiteral<"textStyle">, z.ZodLiteral<"gradient">]>, "many">>; }, "strip", z.ZodTypeAny, { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; }, { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; }>>; parsers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { name: string; options?: Record | undefined; }, { name: string; options?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { path: string; name?: string | undefined; filter?: { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; } | undefined; parsers?: { name: string; options?: Record | undefined; }[] | undefined; }, { path: string; name?: string | undefined; filter?: { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; } | undefined; parsers?: { name: string; options?: Record | undefined; }[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { repository: string; rules: { path: string; name?: string | undefined; filter?: { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; } | undefined; parsers?: { name: string; options?: Record | undefined; }[] | undefined; }[]; head?: string | undefined; base?: string | undefined; version?: "1" | undefined; }, { repository: string; rules: { path: string; name?: string | undefined; filter?: { types?: ("bitmap" | "border" | "color" | "duration" | "font" | "gradient" | "opacity" | "shadow" | "textStyle" | "vector" | "depth" | "measurement")[] | undefined; } | undefined; parsers?: { name: string; options?: Record | undefined; }[] | undefined; }[]; head?: string | undefined; base?: string | undefined; version?: "1" | undefined; }>; export type SpecifyGithubConfigurationV1File = WithSpecifyGithubConfigurationProperties; export declare function isParsedSpecifyConfigV1(config: any): config is SpecifyGithubConfigurationV1File; export declare const specifyConfigurationV2RuleParserSchema: z.ZodObject<{ name: z.ZodString; output: z.ZodOptional>; options: z.ZodOptional>; }, "strict", z.ZodTypeAny, { name: string; output?: Record | undefined; options?: Record | undefined; }, { name: string; output?: Record | undefined; options?: Record | undefined; }>; export declare const specifyConfigurationV2RuleSchema: z.ZodObject<{ name: z.ZodOptional; parsers: z.ZodArray>; options: z.ZodOptional>; }, "strict", z.ZodTypeAny, { name: string; output?: Record | undefined; options?: Record | undefined; }, { name: string; output?: Record | undefined; options?: Record | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { parsers: { name: string; output?: Record | undefined; options?: Record | undefined; }[]; name?: string | undefined; }, { parsers: { name: string; output?: Record | undefined; options?: Record | undefined; }[]; name?: string | undefined; }>; export type SpecifyConfigurationV2Rule = z.infer; export declare const specifyConfigurationV2RulesSchema: z.ZodArray; parsers: z.ZodArray>; options: z.ZodOptional>; }, "strict", z.ZodTypeAny, { name: string; output?: Record | undefined; options?: Record | undefined; }, { name: string; output?: Record | undefined; options?: Record | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { parsers: { name: string; output?: Record | undefined; options?: Record | undefined; }[]; name?: string | undefined; }, { parsers: { name: string; output?: Record | undefined; options?: Record | undefined; }[]; name?: string | undefined; }>, "many">; export type SpecifyConfigurationV2Rules = z.infer; export type specifyConfigurationV2Properties = { version: '2'; rules: SpecifyConfigurationV2Rules; }; export type SpecifyCLIConfigurationV2File = WithSpecifyCLIConfigurationProperties; export declare const specifyCliConfigurationV2FileSchema: z.ZodObject<{ repository: z.ZodOptional; personalAccessToken: z.ZodOptional; version: z.ZodLiteral<"2">; rules: z.ZodArray; parsers: z.ZodArray>; options: z.ZodOptional>; }, "strict", z.ZodTypeAny, { name: string; output?: Record | undefined; options?: Record | undefined; }, { name: string; output?: Record | undefined; options?: Record | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { parsers: { name: string; output?: Record | undefined; options?: Record | undefined; }[]; name?: string | undefined; }, { parsers: { name: string; output?: Record | undefined; options?: Record | undefined; }[]; name?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { version: "2"; rules: { parsers: { name: string; output?: Record | undefined; options?: Record | undefined; }[]; name?: string | undefined; }[]; repository?: string | undefined; personalAccessToken?: string | undefined; }, { version: "2"; rules: { parsers: { name: string; output?: Record | undefined; options?: Record | undefined; }[]; name?: string | undefined; }[]; repository?: string | undefined; personalAccessToken?: string | undefined; }>; export declare const specifyGithubConfigurationV2FileSchema: z.ZodObject<{ repository: z.ZodString; head: z.ZodOptional; base: z.ZodOptional; version: z.ZodLiteral<"2">; rules: z.ZodArray; parsers: z.ZodArray>; options: z.ZodOptional>; }, "strict", z.ZodTypeAny, { name: string; output?: Record | undefined; options?: Record | undefined; }, { name: string; output?: Record | undefined; options?: Record | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { parsers: { name: string; output?: Record | undefined; options?: Record | undefined; }[]; name?: string | undefined; }, { parsers: { name: string; output?: Record | undefined; options?: Record | undefined; }[]; name?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { repository: string; version: "2"; rules: { parsers: { name: string; output?: Record | undefined; options?: Record | undefined; }[]; name?: string | undefined; }[]; head?: string | undefined; base?: string | undefined; }, { repository: string; version: "2"; rules: { parsers: { name: string; output?: Record | undefined; options?: Record | undefined; }[]; name?: string | undefined; }[]; head?: string | undefined; base?: string | undefined; }>; export type SpecifyGithubConfigurationProperties = z.infer; export type WithSpecifyGithubConfigurationProperties = T & SpecifyGithubConfigurationProperties; export type SpecifyGithubConfigurationFile = WithSpecifyGithubConfigurationProperties; export type SpecifyGithubConfigurationV2File = WithSpecifyGithubConfigurationProperties; export declare function hasParsedSpecifyConfigRightProperties(config: any): config is SpecifyGithubConfigurationFile; export declare function isParsedSpecifyConfigV2(config: any): config is SpecifyGithubConfigurationV2File; //# sourceMappingURL=definitions.d.ts.map