import type { ChannelSyncStore } from './store.js'; import { type ChannelDraft, type ChannelRoutingRule } from './types.js'; export interface AssignChannelRoutingInput { readonly surfaceKind: string; readonly profileId: string; readonly channelId?: string | undefined; readonly routeId?: string | undefined; readonly label?: string | undefined; } export interface ListChannelRoutingOptions { readonly surfaceKind?: string | undefined; readonly profileId?: string | undefined; readonly limit?: number | undefined; } export interface ListChannelDraftsOptions { readonly status?: string | undefined; readonly limit?: number | undefined; } export declare class ChannelSyncRegistry { private readonly store; private tables; private readonly writes; private readonly now; constructor(store: ChannelSyncStore, options?: { now?: () => number; }); private load; private persist; private stamp; listRoutes(options?: ListChannelRoutingOptions): Promise<{ routes: ChannelRoutingRule[]; total: number; }>; assignRoute(input: AssignChannelRoutingInput): Promise; deleteRoute(assignmentId: string): Promise; listDrafts(options?: ListChannelDraftsOptions): Promise<{ drafts: ChannelDraft[]; total: number; }>; getDraft(draftId: string): Promise; saveDraft(input: Record): Promise<{ draft: ChannelDraft; created: boolean; }>; deleteDraft(draftId: string): Promise; } //# sourceMappingURL=registry.d.ts.map