/**
 * SEO and social sharing metadata for a site: page title, description, and Open Graph image
 * @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 { SiteMetadatumSelect, SiteMetadatumWithRelations, SiteMetadatumFilter, SiteMetadatumOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { SiteMetadatumSelect, SiteMetadatumWithRelations, SiteMetadatumFilter, SiteMetadatumOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const siteMetadataQueryKey: (variables?: object) => readonly ["sitemetadatum", "list", object];
/**
 * SEO and social sharing metadata for a site: page title, description, and Open Graph image
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useSiteMetadataQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useSiteMetadataQuery<S extends SiteMetadatumSelect, TData = {
    siteMetadata: ConnectionResult<InferSelectResult<SiteMetadatumWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, SiteMetadatumFilter, SiteMetadatumOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SiteMetadatumSelect>;
} & Omit<UseQueryOptions<{
    siteMetadata: ConnectionResult<InferSelectResult<SiteMetadatumWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * SEO and social sharing metadata for a site: page title, description, and Open Graph image
 *
 * @example
 * ```ts
 * const data = await fetchSiteMetadataQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchSiteMetadataQuery<S extends SiteMetadatumSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, SiteMetadatumFilter, SiteMetadatumOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SiteMetadatumSelect>;
}): Promise<{
    siteMetadata: ConnectionResult<InferSelectResult<SiteMetadatumWithRelations, S>>;
}>;
/**
 * SEO and social sharing metadata for a site: page title, description, and Open Graph image
 *
 * @example
 * ```ts
 * await prefetchSiteMetadataQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchSiteMetadataQuery<S extends SiteMetadatumSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, SiteMetadatumFilter, SiteMetadatumOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SiteMetadatumSelect>;
}): Promise<void>;
