import { z } from "zod";
export declare const locationSchema: z.ZodObject<{
    byteOffset: z.ZodNumber;
    lineNumber: z.ZodNumber;
    column: z.ZodNumber;
}, z.core.$strip>;
export declare const rangeSchema: z.ZodObject<{
    start: z.ZodObject<{
        byteOffset: z.ZodNumber;
        lineNumber: z.ZodNumber;
        column: z.ZodNumber;
    }, z.core.$strip>;
    end: z.ZodObject<{
        byteOffset: z.ZodNumber;
        lineNumber: z.ZodNumber;
        column: z.ZodNumber;
    }, z.core.$strip>;
}, z.core.$strip>;
export declare const symbolSchema: z.ZodObject<{
    symbol: z.ZodString;
    kind: z.ZodString;
}, z.core.$strip>;
export declare const searchOptionsSchema: z.ZodObject<{
    matches: z.ZodNumber;
    contextLines: z.ZodOptional<z.ZodNumber>;
    whole: z.ZodOptional<z.ZodBoolean>;
    isRegexEnabled: z.ZodOptional<z.ZodBoolean>;
    isCaseSensitivityEnabled: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
export declare const searchRequestSchema: z.ZodObject<{
    matches: z.ZodNumber;
    contextLines: z.ZodOptional<z.ZodNumber>;
    whole: z.ZodOptional<z.ZodBoolean>;
    isRegexEnabled: z.ZodOptional<z.ZodBoolean>;
    isCaseSensitivityEnabled: z.ZodOptional<z.ZodBoolean>;
    query: z.ZodString;
}, z.core.$strip>;
export declare const repositoryInfoSchema: z.ZodObject<{
    id: z.ZodNumber;
    codeHostType: z.ZodString;
    name: z.ZodString;
    displayName: z.ZodOptional<z.ZodString>;
    webUrl: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const searchStatsSchema: z.ZodObject<{
    actualMatchCount: z.ZodNumber;
    totalMatchCount: z.ZodNumber;
    duration: z.ZodNumber;
    fileCount: z.ZodNumber;
    filesSkipped: z.ZodNumber;
    contentBytesLoaded: z.ZodNumber;
    indexBytesLoaded: z.ZodNumber;
    crashes: z.ZodNumber;
    shardFilesConsidered: z.ZodNumber;
    filesConsidered: z.ZodNumber;
    filesLoaded: z.ZodNumber;
    shardsScanned: z.ZodNumber;
    shardsSkipped: z.ZodNumber;
    shardsSkippedFilter: z.ZodNumber;
    ngramMatches: z.ZodNumber;
    ngramLookups: z.ZodNumber;
    wait: z.ZodNumber;
    matchTreeConstruction: z.ZodNumber;
    matchTreeSearch: z.ZodNumber;
    regexpsConsidered: z.ZodNumber;
    flushReason: z.ZodString;
}, z.core.$strip>;
export declare const searchResponseSchema: z.ZodObject<{
    stats: z.ZodObject<{
        actualMatchCount: z.ZodNumber;
        totalMatchCount: z.ZodNumber;
        duration: z.ZodNumber;
        fileCount: z.ZodNumber;
        filesSkipped: z.ZodNumber;
        contentBytesLoaded: z.ZodNumber;
        indexBytesLoaded: z.ZodNumber;
        crashes: z.ZodNumber;
        shardFilesConsidered: z.ZodNumber;
        filesConsidered: z.ZodNumber;
        filesLoaded: z.ZodNumber;
        shardsScanned: z.ZodNumber;
        shardsSkipped: z.ZodNumber;
        shardsSkippedFilter: z.ZodNumber;
        ngramMatches: z.ZodNumber;
        ngramLookups: z.ZodNumber;
        wait: z.ZodNumber;
        matchTreeConstruction: z.ZodNumber;
        matchTreeSearch: z.ZodNumber;
        regexpsConsidered: z.ZodNumber;
        flushReason: z.ZodString;
    }, z.core.$strip>;
    files: z.ZodArray<z.ZodObject<{
        fileName: z.ZodObject<{
            text: z.ZodString;
            matchRanges: z.ZodArray<z.ZodObject<{
                start: z.ZodObject<{
                    byteOffset: z.ZodNumber;
                    lineNumber: z.ZodNumber;
                    column: z.ZodNumber;
                }, z.core.$strip>;
                end: z.ZodObject<{
                    byteOffset: z.ZodNumber;
                    lineNumber: z.ZodNumber;
                    column: z.ZodNumber;
                }, z.core.$strip>;
            }, z.core.$strip>>;
        }, z.core.$strip>;
        webUrl: z.ZodString;
        externalWebUrl: z.ZodOptional<z.ZodString>;
        repository: z.ZodString;
        repositoryId: z.ZodNumber;
        language: z.ZodString;
        chunks: z.ZodArray<z.ZodObject<{
            content: z.ZodString;
            matchRanges: z.ZodArray<z.ZodObject<{
                start: z.ZodObject<{
                    byteOffset: z.ZodNumber;
                    lineNumber: z.ZodNumber;
                    column: z.ZodNumber;
                }, z.core.$strip>;
                end: z.ZodObject<{
                    byteOffset: z.ZodNumber;
                    lineNumber: z.ZodNumber;
                    column: z.ZodNumber;
                }, z.core.$strip>;
            }, z.core.$strip>>;
            contentStart: z.ZodObject<{
                byteOffset: z.ZodNumber;
                lineNumber: z.ZodNumber;
                column: z.ZodNumber;
            }, z.core.$strip>;
            symbols: z.ZodOptional<z.ZodArray<z.ZodObject<{
                parent: z.ZodOptional<z.ZodObject<{
                    symbol: z.ZodString;
                    kind: z.ZodString;
                }, z.core.$strip>>;
                symbol: z.ZodString;
                kind: z.ZodString;
            }, z.core.$strip>>>;
        }, z.core.$strip>>;
        branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
        content: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
    repositoryInfo: z.ZodArray<z.ZodObject<{
        id: z.ZodNumber;
        codeHostType: z.ZodString;
        name: z.ZodString;
        displayName: z.ZodOptional<z.ZodString>;
        webUrl: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
    isSearchExhaustive: z.ZodBoolean;
}, z.core.$strip>;
export declare const repositoryQuerySchema: z.ZodObject<{
    codeHostType: z.ZodString;
    repoId: z.ZodNumber;
    repoName: z.ZodString;
    repoDisplayName: z.ZodOptional<z.ZodString>;
    webUrl: z.ZodString;
    externalWebUrl: z.ZodOptional<z.ZodString>;
    imageUrl: z.ZodOptional<z.ZodString>;
    indexedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
    pushedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
    defaultBranch: z.ZodOptional<z.ZodString>;
    isFork: z.ZodBoolean;
    isArchived: z.ZodBoolean;
}, z.core.$strip>;
export declare const listReposResponseSchema: z.ZodArray<z.ZodObject<{
    codeHostType: z.ZodString;
    repoId: z.ZodNumber;
    repoName: z.ZodString;
    repoDisplayName: z.ZodOptional<z.ZodString>;
    webUrl: z.ZodString;
    externalWebUrl: z.ZodOptional<z.ZodString>;
    imageUrl: z.ZodOptional<z.ZodString>;
    indexedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
    pushedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
    defaultBranch: z.ZodOptional<z.ZodString>;
    isFork: z.ZodBoolean;
    isArchived: z.ZodBoolean;
}, z.core.$strip>>;
export declare const listReposQueryParamsSchema: z.ZodObject<{
    query: z.ZodOptional<z.ZodString>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
        name: "name";
        pushed: "pushed";
    }>>>;
    direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
        asc: "asc";
        desc: "desc";
    }>>>;
}, z.core.$strip>;
export declare const fileSourceRequestSchema: z.ZodObject<{
    repo: z.ZodString;
    path: z.ZodString;
    ref: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const fileSourceResponseSchema: z.ZodObject<{
    source: z.ZodString;
    language: z.ZodString;
    path: z.ZodString;
    repo: z.ZodString;
    repoCodeHostType: z.ZodString;
    repoDisplayName: z.ZodOptional<z.ZodString>;
    repoExternalWebUrl: z.ZodOptional<z.ZodString>;
    webUrl: z.ZodString;
    externalWebUrl: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
type TreeNode = {
    type: string;
    path: string;
    name: string;
    children: TreeNode[];
};
export declare const listTreeApiRequestSchema: z.ZodObject<{
    repoName: z.ZodString;
    revisionName: z.ZodString;
    paths: z.ZodArray<z.ZodString>;
}, z.core.$strip>;
export declare const listTreeApiResponseSchema: z.ZodObject<{
    tree: z.ZodType<TreeNode, unknown, z.core.$ZodTypeInternals<TreeNode, unknown>>;
}, z.core.$strip>;
export declare const DEFAULT_TREE_DEPTH = 1;
export declare const MAX_TREE_DEPTH = 10;
export declare const DEFAULT_MAX_TREE_ENTRIES = 1000;
export declare const MAX_MAX_TREE_ENTRIES = 10000;
export declare const listTreeRequestSchema: z.ZodObject<{
    repo: z.ZodString;
    path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    ref: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    depth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    includeFiles: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    includeDirectories: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    maxEntries: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, z.core.$strip>;
export declare const listTreeEntrySchema: z.ZodObject<{
    type: z.ZodEnum<{
        tree: "tree";
        blob: "blob";
    }>;
    path: z.ZodString;
    name: z.ZodString;
    parentPath: z.ZodString;
    depth: z.ZodNumber;
}, z.core.$strip>;
export declare const listTreeResponseSchema: z.ZodObject<{
    repo: z.ZodString;
    ref: z.ZodString;
    path: z.ZodString;
    entries: z.ZodArray<z.ZodObject<{
        type: z.ZodEnum<{
            tree: "tree";
            blob: "blob";
        }>;
        path: z.ZodString;
        name: z.ZodString;
        parentPath: z.ZodString;
        depth: z.ZodNumber;
    }, z.core.$strip>>;
    totalReturned: z.ZodNumber;
    truncated: z.ZodBoolean;
}, z.core.$strip>;
export declare const serviceErrorSchema: z.ZodObject<{
    statusCode: z.ZodNumber;
    errorCode: z.ZodString;
    message: z.ZodString;
}, z.core.$strip>;
export declare const listCommitsQueryParamsSchema: z.ZodObject<{
    repo: z.ZodString;
    query: z.ZodOptional<z.ZodString>;
    since: z.ZodOptional<z.ZodString>;
    until: z.ZodOptional<z.ZodString>;
    author: z.ZodOptional<z.ZodString>;
    ref: z.ZodOptional<z.ZodString>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, z.core.$strip>;
export declare const listCommitsResponseSchema: z.ZodArray<z.ZodObject<{
    hash: z.ZodString;
    date: z.ZodString;
    message: z.ZodString;
    refs: z.ZodString;
    body: z.ZodString;
    author_name: z.ZodString;
    author_email: z.ZodString;
}, z.core.$strip>>;
export declare const languageModelInfoSchema: z.ZodObject<{
    provider: z.ZodString;
    model: z.ZodString;
    displayName: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const listLanguageModelsResponseSchema: z.ZodArray<z.ZodObject<{
    provider: z.ZodString;
    model: z.ZodString;
    displayName: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
export declare const askCodebaseRequestSchema: z.ZodObject<{
    query: z.ZodString;
    repos: z.ZodOptional<z.ZodArray<z.ZodString>>;
    languageModel: z.ZodOptional<z.ZodObject<{
        provider: z.ZodString;
        model: z.ZodString;
    }, z.core.$strip>>;
    visibility: z.ZodOptional<z.ZodEnum<{
        PRIVATE: "PRIVATE";
        PUBLIC: "PUBLIC";
    }>>;
}, z.core.$strip>;
export declare const sourceSchema: z.ZodObject<{
    type: z.ZodLiteral<"file">;
    repo: z.ZodString;
    path: z.ZodString;
    name: z.ZodString;
    language: z.ZodString;
    revision: z.ZodString;
}, z.core.$strip>;
export declare const askCodebaseResponseSchema: z.ZodObject<{
    answer: z.ZodString;
    chatId: z.ZodString;
    chatUrl: z.ZodString;
    languageModel: z.ZodObject<{
        provider: z.ZodString;
        model: z.ZodString;
        displayName: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>;
}, z.core.$strip>;
export {};
