/**
 * Runs story callbacks inside Histoire's lifecycle, before it releases mounts
 * and wrapper resources. The outer Vitest runner only sees the final error;
 * clearing its callback arrays prevents a second, too-late invocation.
 */
export declare function finishHistoireTestTask(task: any, initialError?: unknown): Promise<unknown>;
//# sourceMappingURL=task-callbacks.d.ts.map