import { SmrtCollection } from '@happyvertical/smrt-core'; import { AccessRequest } from '../models/AccessRequest.js'; import { AccessRequestStatus } from '../types/index.js'; /** * Collection for managing {@link AccessRequest} objects. */ export declare class AccessRequestCollection extends SmrtCollection { static readonly _itemClass: typeof AccessRequest; /** * Find all access requests for an email (any status), newest first. The email * is normalized before querying so callers can pass any case. */ findByEmail(email: string): Promise; /** * Find the single open (`REQUESTED`) request for an email, if any. This is * the dedup key used by {@link AccessRequestService.createAccessRequest}. */ findOpenByEmail(email: string): Promise; /** * Find access requests by status, newest first. */ findByStatus(status: AccessRequestStatus): Promise; /** * Find all open (`REQUESTED`) access requests — the operator triage queue. */ findOpen(): Promise; } //# sourceMappingURL=AccessRequestCollection.d.ts.map