import { Issue } from '../entities/Issue'; import { Project } from '../entities/Project'; import { IssueRepository } from './adapter-interfaces/IssueRepository'; export type IssueSnapshotCheckedFieldName = keyof Pick; export type IssueSnapshotStaleness = { type: 'current'; liveIssue: Issue; } | { type: 'stale'; liveIssue: Issue; changedFieldNames: IssueSnapshotCheckedFieldName[]; } | { type: 'removedFromProject'; }; type LiveIssueFetchParams = { issueRepository: Pick; project: Project; snapshotIssue: Issue; skippedWriteDescription: string; }; export declare const liveIssueFetchOrEvictFromProjectCache: (params: LiveIssueFetchParams) => Promise; export declare const issueSnapshotStalenessCheck: (params: LiveIssueFetchParams & { checkedFieldNames: IssueSnapshotCheckedFieldName[]; }) => Promise; export {}; //# sourceMappingURL=issueSnapshotStalenessCheck.d.ts.map