/**
 * 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 { SiteMetadatumSelect, SiteMetadatumWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SiteMetadatumSelect, SiteMetadatumWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const siteMetadatumQueryKey: (id: string | number) => readonly ["sitemetadatum", "detail", string | number];
/**
 * SEO and social sharing metadata for a site: page title, description, and Open Graph image
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useSiteMetadatumQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useSiteMetadatumQuery<S extends SiteMetadatumSelect, TData = {
    siteMetadatum: InferSelectResult<SiteMetadatumWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, SiteMetadatumSelect>;
} & Omit<UseQueryOptions<{
    siteMetadatum: InferSelectResult<SiteMetadatumWithRelations, S> | null;
}, 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 fetchSiteMetadatumQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchSiteMetadatumQuery<S extends SiteMetadatumSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, SiteMetadatumSelect>;
}): Promise<{
    siteMetadatum: InferSelectResult<SiteMetadatumWithRelations, S> | null;
}>;
/**
 * SEO and social sharing metadata for a site: page title, description, and Open Graph image
 *
 * @example
 * ```ts
 * await prefetchSiteMetadatumQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchSiteMetadatumQuery<S extends SiteMetadatumSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, SiteMetadatumSelect>;
}): Promise<void>;
