import { QueryKey } from '@tanstack/react-query'; import { AuthResource } from './resources.js'; /** * Map each Auth UI resource to TanStack prefixes that hold it. * Includes Athena-owned keys plus Better Auth UI compatibility keys so * BA components still invalidate after Athena writes. */ export declare function queryKeysForAuthResource(resource: AuthResource, userId: string | undefined): QueryKey[]; export declare function sessionQueryKey(): readonly ["athena-auth", "session"]; export declare function sessionQueryKeys(): QueryKey[]; export declare function writeSessionQueryData(queryClient: { setQueryData: (queryKey: QueryKey, data: unknown) => void; }, data: unknown): void; export declare function allAuthQueryKeys(): QueryKey[]; export declare function organizationListQueryKey(userId: string | undefined): readonly ["athena-auth", "organizations", string | null]; export declare function activeOrganizationQueryKey(userId: string | undefined): readonly ["athena-auth", "active-organization", string | null]; export declare function apiKeyListQueryKey(userId: string | undefined): readonly ["athena-auth", "api-keys", string | null]; export declare function apiKeyListPrefix(userId: string | undefined): readonly ["athena-auth", "api-keys", string | null]; export declare function passkeyListQueryKey(userId: string | undefined): readonly ["athena-auth", "passkeys", string | null]; export declare function passkeyListPrefix(userId: string | undefined): readonly ["athena-auth", "passkeys", string | null];