export declare function usePermission(): { can: (name: string) => boolean; getData: () => Record | undefined; };