import type { Breakpoint, BreakpointContext, BreakpointRouting, BreakpointStrategy } from "../types.js"; import type { BreakpointBackend } from "../backend.js"; /** * Options for creating and submitting a breakpoint. */ export interface SubmitBreakpointOptions { text: string; context: BreakpointContext; routing: BreakpointRouting; projectId?: string; repoId?: string; } /** * Options for routing a breakpoint to responders. */ export interface RouteToRespondersOptions { strategy: BreakpointStrategy; timeoutMs: number; presentToUser?: boolean; } /** * Orchestrates breakpoint creation and routing through a backend. */ export declare class BreakpointRouter { private readonly backend; constructor(backend: BreakpointBackend); /** * Create and submit a new breakpoint to the backend. * Returns the created Breakpoint with its backend-assigned ID. */ submitBreakpoint(text: string, context: BreakpointContext, routing: BreakpointRouting, projectId?: string, repoId?: string): Promise; /** * Set up routing for a breakpoint, targeting specific responders. * * This is a convenience method that submits a breakpoint with * the given responders pre-filled in the routing configuration. */ routeToResponders(breakpointText: string, context: BreakpointContext, responderIds: string[], options: RouteToRespondersOptions, projectId?: string, repoId?: string): Promise; /** * Generate a new unique breakpoint ID (client-side). * Useful for pre-generating IDs before submission. */ generateBreakpointId(): string; } //# sourceMappingURL=breakpoint-router.d.ts.map