import type { TPermissionVerb } from '../localTypes/permissions';
export declare const usePermissions: ({ cluster, namespace, apiGroup, plural, subresource, verb, name, refetchInterval, enabler, }: {
    cluster: string;
    apiGroup?: string | undefined;
    plural: string;
    namespace?: string | undefined;
    subresource?: string | undefined;
    name?: string | undefined;
    verb: TPermissionVerb;
    refetchInterval?: number | false | undefined;
    enabler?: boolean | undefined;
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
    status: {
        allowed?: boolean | undefined;
    };
}, Error>;
