import { type Repository } from '../db/index.js';
import type { CodegraphConfig } from '../types.js';
interface SequenceMessage {
    from: string;
    to: string;
    label: string;
    type: 'call' | 'return';
    depth: number;
}
interface Participant {
    id: string;
    label: string;
    file: string;
}
interface SequenceDataOpts {
    depth?: number;
    noTests?: boolean;
    file?: string;
    kind?: string;
    dataflow?: boolean;
    limit?: number;
    offset?: number;
    config?: CodegraphConfig;
    repo?: Repository;
}
interface SequenceEntry {
    name: string;
    file: string;
    kind: string;
    line: number;
}
interface SequenceDataResult {
    entry: SequenceEntry | null;
    participants: Participant[];
    messages: SequenceMessage[];
    depth: number;
    totalMessages: number;
    truncated: boolean;
}
export declare function sequenceData(name: string, dbPath?: string, opts?: SequenceDataOpts): SequenceDataResult;
export { sequenceToMermaid } from '../presentation/sequence-renderer.js';
//# sourceMappingURL=sequence.d.ts.map