import { type ContextContainer } from "#context/container.js";
import type { InstrumentationHooks } from "#instrumentation/lifecycle.js";
import type { TaskView } from "#tasks/types.js";
export interface BackgroundTaskInstrumentation {
    readonly publishBackgroundTaskSettlements: (input: {
        readonly acceptedAtMs?: number;
        readonly views: readonly TaskView[];
    }) => Promise<void>;
    readonly rememberBackgroundTasks: (tasks: readonly {
        readonly callId?: string;
        readonly taskId: string;
    }[]) => void;
}
export declare function createBackgroundTaskInstrumentation(input: {
    readonly ctx: ContextContainer;
    readonly hooks: () => InstrumentationHooks;
    readonly sessionId: string;
}): BackgroundTaskInstrumentation;
