export interface UsePermission { canCreate: () => boolean; canUpdate: (createdById?: string) => boolean; canWrite: (createdById?: string | null) => boolean; canDelete: (createdById?: string | null) => boolean; canPublish: () => boolean; canUnpublish: () => boolean; hasPermissions: () => boolean; canAccessOnlyOwn: () => boolean; } export declare const createUsePermissions: (permissionName: string) => () => UsePermission;