import { type ResolveRateLimitStop } from "../comments/rate-limit.mts"; import type { GlobalOptions } from "../types.mts"; export interface MarkFilesAsViewedOptions extends GlobalOptions { prNumber?: number; files: string[]; tests?: boolean; matchPatterns?: string[]; } export interface MarkFilesAsViewedResult { repo: string; prNumber: number; pullRequestId: string; requestedPaths: string[]; testSelector: boolean; matchPatterns: string[]; matchedPaths: string[]; markedPaths: string[]; alreadyViewedPaths: string[]; missingPaths: string[]; unmatchedSelectors: string[]; errors: string[]; rateLimit?: ResolveRateLimitStop; unmarkedPaths?: string[]; /** @deprecated Explicit file-view requests are attempted; GitHub authorizes the mutation. */ authorizationSkipped?: "unverifiable"; } /** @deprecated Hidden implementation for `mark-files-as-viewed`; use `apply files`. */ export declare function runMarkFilesAsViewed(opts: MarkFilesAsViewedOptions): Promise;