import type { DatabaseSync } from 'node:sqlite'; import type { SceneContextProvider, SceneEvidence } from './execution.js'; import type { SceneActivation, ScenePrincipal } from './contracts.js'; /** Reads a bounded, account-scoped thread from synchronized connector knowledge. */ export declare class SceneMailContextProvider implements SceneContextProvider { private readonly db; private readonly clock; readonly id = "mail"; readonly tracksHealth = true; readonly requiresAccountIdentity = true; constructor(db: DatabaseSync, clock?: () => number); setupIssues(activation: SceneActivation): string[]; authorization(activation: SceneActivation): string[] | null; /** Resolve current account grants for the exact delegated source, including reconnects and revocation. */ authorizedAccounts(activation: SceneActivation): string[]; /** Picker metadata only; choosing an item still requires explicit activation consent. */ listSources(principal: ScenePrincipal, limit?: number, afterId?: string): { id: string; accountId: string; subject: string; sender: string; }[]; read(input: Parameters[0]): Promise; }