import type { SdlcEvent, SdlcEventType } from '../app/api/sdlc-events/route.js';
export type SdlcConnectionStatus = 'connected' | 'connecting' | 'disconnected';
export interface UseSdlcEventsOptions {
    /** Optional feature ID to scope events to a single feature/epic */
    featureId?: string;
    /** Optional filter to only receive specific event types */
    eventTypes?: SdlcEventType[];
    /** Called when any SDLC event is received */
    onEvent?: (event: SdlcEvent) => void;
}
export interface UseSdlcEventsResult {
    events: SdlcEvent[];
    lastEvent: SdlcEvent | null;
    connectionStatus: SdlcConnectionStatus;
}
/**
 * Hook that receives real-time SDLC task and sub-task events via SSE.
 *
 * Connects to /api/sdlc-events (optionally scoped to a featureId) and
 * receives task/sub-task create, update, and delete events. Automatically
 * reconnects on disconnect with exponential backoff.
 */
export declare function useSdlcEvents({ featureId, eventTypes, onEvent, }: UseSdlcEventsOptions): UseSdlcEventsResult;
//# sourceMappingURL=use-sdlc-events.d.ts.map