/**
 * 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 { ListSelectionConfig } from '../selection';
import type { SiteSelect, SiteWithRelations, SiteFilter, SiteOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { SiteSelect, SiteWithRelations, SiteFilter, SiteOrderBy } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const sitesQueryKey: (variables?: object) => readonly ["site", "list", object];
/**
 * Top-level site configuration: branding assets, title, and description for a deployed application
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useSitesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useSitesQuery<S extends SiteSelect, TData = {
    sites: ConnectionResult<InferSelectResult<SiteWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, SiteFilter, SiteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SiteSelect>;
} & Omit<UseQueryOptions<{
    sites: ConnectionResult<InferSelectResult<SiteWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Top-level site configuration: branding assets, title, and description for a deployed application
 *
 * @example
 * ```ts
 * const data = await fetchSitesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchSitesQuery<S extends SiteSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, SiteFilter, SiteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SiteSelect>;
}): Promise<{
    sites: ConnectionResult<InferSelectResult<SiteWithRelations, S>>;
}>;
/**
 * Top-level site configuration: branding assets, title, and description for a deployed application
 *
 * @example
 * ```ts
 * await prefetchSitesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchSitesQuery<S extends SiteSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, SiteFilter, SiteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SiteSelect>;
}): Promise<void>;
