import type { EditorDocumentApi } from "../../types.js"; interface RequestableRight { value: string; label: string; } /** * Dialog for requesting access to a document. * * For users who already have some access, only rights that are higher than * the current level are offered. Token users and users without any known * access can choose from all requestable rights. */ export declare class RequestAccessDialog { documentId: number; currentRights: string; documentApi: EditorDocumentApi; isTokenUser: boolean; constructor(documentId: number, currentRights: string | undefined, documentApi: EditorDocumentApi, isTokenUser?: boolean); open(): void; getRightsOptions(): RequestableRight[]; } export {}; //# sourceMappingURL=request_access_dialog.d.ts.map