import type { ApiKeyCreate } from '../lib/api/vauth-be-v2/models/ApiKeyCreate.js'; import type { ApiKeyScopeRead } from '../lib/api/vauth-be-v2/models/ApiKeyScopeRead.js'; export type MemberAccessObj = 'org' | 'project' | 'env'; export type { ApiKeyCreate }; export declare const useApiKeyApi: () => { getProjectEnvironmentApiKey: (environmentId: string, projectId?: string, accessToken?: string) => Promise; getApiKeyScope: (accessToken?: string) => Promise; getApiKeyList: (objectType: MemberAccessObj, projectId?: string | null, accessToken?: string, cookie?: string | null) => Promise; getApiKeyById: (apiKeyId: string, accessToken?: string, cookie?: string | null) => Promise; createApiKey: (body: ApiKeyCreate, accessToken?: string | null, cookie?: string | null) => Promise; validateApiKeyScope: (apiKey: string, keyLevel: "organization" | "project" | "environment") => Promise<{ valid: boolean; scope: null; error: any; } | { valid: boolean; scope: ApiKeyScopeRead | null; error: string | null; }>; validateApiKey: (apiKey: string) => boolean | ""; };