/**
 * Top-level site configuration: branding assets, title, and description for a deployed application
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { SiteSelect, SiteWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SiteSelect, SiteWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const siteQueryKey: (id: string | number) => readonly ["site", "detail", string | number];
/**
 * Top-level site configuration: branding assets, title, and description for a deployed application
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useSiteQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useSiteQuery<S extends SiteSelect, TData = {
    site: InferSelectResult<SiteWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, SiteSelect>;
} & Omit<UseQueryOptions<{
    site: InferSelectResult<SiteWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Top-level site configuration: branding assets, title, and description for a deployed application
 *
 * @example
 * ```ts
 * const data = await fetchSiteQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchSiteQuery<S extends SiteSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, SiteSelect>;
}): Promise<{
    site: InferSelectResult<SiteWithRelations, S> | null;
}>;
/**
 * Top-level site configuration: branding assets, title, and description for a deployed application
 *
 * @example
 * ```ts
 * await prefetchSiteQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchSiteQuery<S extends SiteSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, SiteSelect>;
}): Promise<void>;
