import type { SpecStatus } from '../../types/index.js';
import type { knowledgeStore } from '../../storage/index.js';
import type { Spec } from '../../types/spec/core.js';
import type { RunCascadeResult } from '../../types/cascade-hooks.js';
/**
 * SPEC-585: Autopush on done if configured.
 * Returns the push result for inclusion in autopilotSummary (or null when disabled/skipped).
 */
export declare function maybeSafePushOnDone(projectPath: string, newStatus: string): Promise<{
    label: string;
    message: string;
} | null>;
/** Fire-and-forget side effects after a successful status transition. */
export declare function fireAndForgetSideEffects(params: {
    knowledge: Awaited<ReturnType<typeof knowledgeStore.getKnowledge>>;
    allSpecs: Spec[];
    specId: string;
    newStatus: SpecStatus;
    validateScore: number | null;
    projectId: string;
    spec: Spec;
    currentStatus: SpecStatus;
}): void;
/**
 * SPEC-772: Run cascade and await fast hooks (fast: true) within a 2s window.
 * Returns fast hook results for inclusion in the update_status response humanSummary.
 * Slow hooks continue fire-and-forget after this function returns.
 */
export declare function runCascadeForResponse(params: {
    knowledge: Awaited<ReturnType<typeof knowledgeStore.getKnowledge>>;
    allSpecs: Spec[];
    specId: string;
    newStatus: SpecStatus;
    validateScore: number | null;
    projectId: string;
    spec: Spec;
    currentStatus: SpecStatus;
}): Promise<RunCascadeResult | null>;
//# sourceMappingURL=side-effects.d.ts.map