import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Meta } from "./meta.js";
import { Permission } from "./permission.js";
export type V2KeysRemovePermissionsResponseBody = {
    /**
     * Metadata object included in every API response. This provides context about the request and is essential for debugging, audit trails, and support inquiries. The `requestId` is particularly important when troubleshooting issues with the Unkey support team.
     */
    meta: Meta;
    /**
     * Complete list of all permissions directly assigned to the key after the removal operation (remaining permissions only).
     *
     * @remarks
     *
     * Notes:
     * - This list does NOT include permissions granted through roles
     * - For a complete permission picture, use `/v2/keys.getKey` instead
     * - An empty array indicates the key has no direct permissions assigned
     * - Any cached versions of the key are immediately invalidated to ensure consistency
     * - Changes to permissions take effect within seconds for new verifications
     */
    data: Array<Permission>;
};
/** @internal */
export declare const V2KeysRemovePermissionsResponseBody$inboundSchema: z.ZodType<V2KeysRemovePermissionsResponseBody, z.ZodTypeDef, unknown>;
export declare function v2KeysRemovePermissionsResponseBodyFromJSON(jsonString: string): SafeParseResult<V2KeysRemovePermissionsResponseBody, SDKValidationError>;
//# sourceMappingURL=v2keysremovepermissionsresponsebody.d.ts.map