import { z } from 'zod';
export declare const repositoryNameSchema: z.ZodString;
export declare const distributionNameSchema: z.ZodString;
export declare const packageQuerySchema: z.ZodString;
export declare const urlSchema: z.ZodEffects<z.ZodString, string, string>;
export declare const createRepoSchema: z.ZodObject<{
    name: z.ZodString;
    comment: z.ZodOptional<z.ZodString>;
    defaultDistribution: z.ZodOptional<z.ZodString>;
    defaultComponent: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    name: string;
    comment?: string | undefined;
    defaultDistribution?: string | undefined;
    defaultComponent?: string | undefined;
}, {
    name: string;
    comment?: string | undefined;
    defaultDistribution?: string | undefined;
    defaultComponent?: string | undefined;
}>;
export declare const addPackagesSchema: z.ZodObject<{
    repoName: z.ZodString;
    directory: z.ZodString;
    files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
    repoName: string;
    directory: string;
    files?: string[] | undefined;
}, {
    repoName: string;
    directory: string;
    files?: string[] | undefined;
}>;
export declare const searchPackagesSchema: z.ZodObject<{
    repoName: z.ZodOptional<z.ZodString>;
    query: z.ZodString;
    format: z.ZodOptional<z.ZodEnum<["compact", "details"]>>;
}, "strip", z.ZodTypeAny, {
    query: string;
    repoName?: string | undefined;
    format?: "compact" | "details" | undefined;
}, {
    query: string;
    repoName?: string | undefined;
    format?: "compact" | "details" | undefined;
}>;
export declare const createSnapshotSchema: z.ZodObject<{
    name: z.ZodString;
    repoName: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    name: string;
    repoName: string;
    description?: string | undefined;
}, {
    name: string;
    repoName: string;
    description?: string | undefined;
}>;
export declare const publishRepoSchema: z.ZodObject<{
    repoName: z.ZodString;
    distribution: z.ZodString;
    prefix: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    repoName: string;
    distribution: string;
    prefix?: string | undefined;
}, {
    repoName: string;
    distribution: string;
    prefix?: string | undefined;
}>;
export declare const createMirrorSchema: z.ZodObject<{
    name: z.ZodString;
    archiveURL: z.ZodEffects<z.ZodString, string, string>;
    distribution: z.ZodString;
    components: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    architectures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
    name: string;
    distribution: string;
    archiveURL: string;
    components?: string[] | undefined;
    architectures?: string[] | undefined;
}, {
    name: string;
    distribution: string;
    archiveURL: string;
    components?: string[] | undefined;
    architectures?: string[] | undefined;
}>;
export declare const deleteRepoSchema: z.ZodObject<{
    name: z.ZodString;
    force: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    name: string;
    force?: boolean | undefined;
}, {
    name: string;
    force?: boolean | undefined;
}>;
export declare const uploadFilesSchema: z.ZodObject<{
    directory: z.ZodString;
}, "strip", z.ZodTypeAny, {
    directory: string;
}, {
    directory: string;
}>;
export declare function validateRepositoryName(name: string): string;
export declare function validateDistributionName(name: string): string;
export declare function validatePackageQuery(query: string): string;
export declare function validateURL(url: string): string;
export declare function formatValidationError(error: z.ZodError): string;
