import type { ProjectConfig } from "../../config/schema.js"; import type { CredentialPort } from "../../ports/credentials.port.js"; import type { CurrentUser, GetCommentsRequest, GetCommentsResult, GetIssueRequest, GetIssueResult, GetIssuesRequest, GetIssuesResult, JiraReadPort, ListProjectsResult, SearchPageRequest, SearchPageResult } from "../../ports/jira-read.port.js"; export declare class JiraCloudReadAdapter implements JiraReadPort { private readonly config; private readonly client; constructor(credentials: CredentialPort, config: ProjectConfig, fetchImpl?: typeof fetch); searchPage(req: SearchPageRequest): Promise; /** * `GET /rest/api/3/issue/{key}` - the single-issue endpoint, not bulkfetch. * * This is what ConsistencyPolicy means by a direct issue read, and the write * plane is the only caller. A 404 is an answer, not a failure: the issue is * not there, or not visible to this account, and the caller decides which of * those matters. */ getIssue(req: GetIssueRequest): Promise; getIssues(req: GetIssuesRequest): Promise; getComments(req: GetCommentsRequest): Promise; listProjects(): Promise; getCurrentUser(): Promise; }