import * as Types from '../modules/gql/generated/types'; import { LandingTemplateFrFragment } from './landingTemplateFr'; import * as Apollo from '@apollo/client'; export declare type TemplateQueryVariables = Types.Exact<{ where: Types.TemplateWhereUniqueInput; }>; export declare type TemplateQuery = { __typename?: 'Query'; template?: Types.Maybe<{ __typename?: 'LandingTemplate__Fragment'; } & LandingTemplateFrFragment>; }; export declare const TemplateDocument: Apollo.DocumentNode; /** * __useTemplateQuery__ * * To run a query within a React component, call `useTemplateQuery` and pass it any options that fit your needs. * When your component renders, `useTemplateQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useTemplateQuery({ * variables: { * where: // value for 'where' * }, * }); */ export declare function useTemplateQuery(baseOptions: Apollo.QueryHookOptions): Apollo.QueryResult>; export declare function useTemplateLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions): Apollo.LazyQueryResultTuple>; export declare type TemplateQueryHookResult = ReturnType; export declare type TemplateLazyQueryHookResult = ReturnType; export declare type TemplateQueryResult = Apollo.QueryResult;