import { Signal, SignalType, SignalContext } from '../../../types';
export declare class SignalCapture {
    private signals;
    private currentSessionId;
    private lastActivityTime;
    private sessionGapMs;
    constructor(sessionGapMinutes?: number);
    captureEditDiff(originalCode: string, editedCode: string, context: SignalContext): Signal;
    captureAccept(originalCode: string, context: SignalContext): Signal;
    captureReject(originalCode: string, context: SignalContext): Signal;
    captureRetry(originalCode: string, context: SignalContext): Signal;
    getAllSignals(): Signal[];
    getSignalsByType(type: SignalType): Signal[];
    getSignalsBySession(sessionId: string): Signal[];
    getCurrentSessionId(): string;
    getSignalCount(): number;
    clear(): void;
    private createSignal;
    private persistSignal;
    private truncateDiff;
    private checkSessionBoundary;
    private generateSessionId;
}
export declare function getPersistedSignalCount(): number;
export declare function getPersistedSignalsByType(type: SignalType): Signal[];
export declare function getPersistedSignalsByProject(project: string): Signal[];
//# sourceMappingURL=signal-capture.d.ts.map