import type { SettingsPanelDeclaration, SettingsPanelState, UserGrantOption, UserProfile } from "@edenapp/types"; import type { SettingsPanelRecord } from "./SettingsPanelRecord"; export declare const hasUserGrant: (user: UserProfile, grant: string) => boolean; export declare function canOpenPanel(record: SettingsPanelRecord, user: UserProfile): boolean; export declare function authorizePanelDeclaration(record: SettingsPanelRecord, user: UserProfile): SettingsPanelDeclaration | undefined; export declare function applyActionAuthorization(state: SettingsPanelState, declaration: SettingsPanelDeclaration): SettingsPanelState; export declare function collectPanelGrantOptions(records: Iterable): UserGrantOption[]; //# sourceMappingURL=SettingsPanelAuthorization.d.ts.map