import type { FactoryJiraEventName, FactoryJiraRuleContext, FactoryRuleHandler } from '../../rules/types.js'; export type JiraRuleOverrides = Partial | null | undefined>>; export type JiraEventRules = Readonly | null>>; declare function jiraIssueObserved(context: FactoryJiraRuleContext): { readonly type: "upsertLinkedWorkItem"; readonly idempotencyKey: `${string}:issue-triage`; readonly board: string; readonly source: "jira-issue"; 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 project: string | null; readonly site: 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 jiraIssueClosed(context: FactoryJiraRuleContext): { readonly type: "transition"; readonly idempotencyKey: `${string}:issue-closed`; readonly board: import("../../rules/types.js").FactoryRuleBoard; readonly stage: string; readonly message: { readonly text: `Jira issue ${string} was canceled; this ${string} card was moved to ${string}.` | `Jira issue ${string} was completed; this ${string} card was moved to ${string}.`; }; } | undefined; export declare const defaultJiraRules: Readonly<{ issueObserved: typeof jiraIssueObserved; issueClosed: typeof jiraIssueClosed; }>; export declare function resolveJiraRules(overrides?: JiraRuleOverrides): JiraEventRules; export {}; //# sourceMappingURL=default-rules.d.ts.map