import type { Tool } from './tools/types.js';
export type BenchmarkRepoStatus = 'official' | 'related' | 'unverified';
export interface BenchmarkRepoRef {
    slug: string;
    role?: string;
}
export interface BenchmarkLeaderboardSnapshot {
    rank: number;
    scorePct: number;
    model: string;
    date: string;
    source: string;
    note?: string;
}
export interface BenchmarkRepoEntry {
    project: string;
    status: BenchmarkRepoStatus;
    repos: BenchmarkRepoRef[];
    tags: string[];
    note: string;
    lastSeen?: string;
    leaderboard?: BenchmarkLeaderboardSnapshot[];
}
export interface BenchmarkRepoCatalogParseResult {
    input?: Record<string, unknown>;
    error?: string;
}
export declare const TERMINAL_BENCH_REPO_CATALOG: BenchmarkRepoEntry[];
export declare function formatBenchmarkRepoCatalog(input?: Record<string, unknown>): string;
export interface BenchmarkTopOpenSourceSelection {
    project: string;
    status: BenchmarkRepoStatus;
    repo: BenchmarkRepoRef;
    leaderboard: BenchmarkLeaderboardSnapshot;
    note: string;
    docsOnly: boolean;
}
export declare function selectTopOpenSourceBenchmarkRepos(input?: {
    leaderboardTop?: number;
    limit?: number;
    includeRelated?: boolean;
    docsOnly?: boolean;
}): BenchmarkTopOpenSourceSelection[];
export declare function filterBenchmarkRepoCatalog(input: {
    query?: string;
    status: 'official' | 'related' | 'unverified' | 'all';
}): BenchmarkRepoEntry[];
export declare function parseBenchmarkRepoCatalogCommandArgs(args: string): BenchmarkRepoCatalogParseResult;
export declare function formatBenchmarkRepoCatalogUsage(): string;
export declare function encodeBenchmarkReposSentinel(input: Record<string, unknown>): string;
export declare function decodeBenchmarkReposSentinel(value: string): Record<string, unknown> | null;
export declare const BenchmarkRepoCatalogTool: Tool;
export declare function selectBenchmarkRepoDigestTarget(input: Record<string, unknown>): string | null;
declare function normalizeBenchmarkRepoCatalogInput(input: Record<string, unknown>): {
    query?: string;
    status: 'official' | 'related' | 'unverified' | 'all';
    limit: number;
    reposOnly: boolean;
    topOpenSource: boolean;
    leaderboardTop: number;
    includeRelated: boolean;
    docsOnly: boolean;
};
declare function normalizeStatusAlias(value: string): 'official' | 'related' | 'unverified' | 'all';
declare function tokenizeArgs(input: string): string[];
declare function bestLeaderboardSnapshot(entry: BenchmarkRepoEntry): BenchmarkLeaderboardSnapshot | null;
export declare const _internal: {
    tokenizeArgs: typeof tokenizeArgs;
    normalizeBenchmarkRepoCatalogInput: typeof normalizeBenchmarkRepoCatalogInput;
    normalizeStatusAlias: typeof normalizeStatusAlias;
    bestLeaderboardSnapshot: typeof bestLeaderboardSnapshot;
    CATALOG_SOURCE: string;
    LEADERBOARD_SOURCE: string;
};
export {};
