import type { FactoryIncidentioEventName, FactoryIncidentioRuleContext, FactoryRuleHandler } from '../../rules/types.js'; export type IncidentioRuleOverrides = Partial | null | undefined>>; export type IncidentioEventRules = Readonly | null>>; declare function incidentioFollowUpObserved(context: FactoryIncidentioRuleContext): { readonly type: "upsertLinkedWorkItem"; readonly idempotencyKey: `${string}:follow-up-triage`; readonly board: string; readonly source: "incidentio-follow-up"; readonly sourceKey: string; readonly claimKey: string; readonly title: string; readonly url: string; readonly stage: string; readonly metadata: { readonly identifier: string; readonly issueRef: string; readonly sourceCreatedAt: string; readonly state: string; readonly stateType: string; readonly priority: string; readonly incident: string | null; readonly assignee: string | null; readonly assignees: string[]; readonly creator: string | null; readonly author: string | null; readonly labels: string[]; readonly createdAt: string; readonly updatedAt: string; }; } | undefined; declare function incidentioFollowUpClosed(context: FactoryIncidentioRuleContext): { readonly type: "transition"; readonly idempotencyKey: `${string}:follow-up-closed`; readonly board: import("../../rules/types.js").FactoryRuleBoard; readonly stage: string; readonly message: { readonly text: `incident.io follow-up ${string} was canceled; this ${string} card was moved to ${string}.` | `incident.io follow-up ${string} was completed; this ${string} card was moved to ${string}.`; }; } | undefined; export declare const defaultIncidentioRules: Readonly<{ followUpObserved: typeof incidentioFollowUpObserved; followUpClosed: typeof incidentioFollowUpClosed; }>; export declare function resolveIncidentioRules(overrides?: IncidentioRuleOverrides): IncidentioEventRules; export {}; //# sourceMappingURL=default-rules.d.ts.map