import { UnionCommands } from "@tiptap/core";
export type Claims = "premium";
export type PermissionHandlerOptions = {
    claims: Record<Claims, boolean>;
    onPermissionDenied: (claim: Claims, id: keyof UnionCommands) => void;
};
export declare function usePermissionHandler(options: PermissionHandlerOptions): void;
