import type { CliOptions } from '../types.ts';
type HistoryEntry = {
    readonly sha: string;
    readonly fullSha: string;
    readonly writer: string;
    readonly lamport: number;
    readonly opCount: number;
};
type HistoryPayload = {
    readonly graph: string;
    readonly writer: string;
    readonly node: string | null;
    readonly entries: readonly HistoryEntry[];
};
/** Handles `git warp history`: lists a writer's patch chain. */
export default function handleHistory({ options, args }: {
    options: CliOptions;
    args: string[];
}): Promise<{
    payload: HistoryPayload;
    exitCode: number;
}>;
export {};
