import * as Types from '../../../../../api/types';
import * as ApolloReactCommon from '@apollo/client';
import * as ApolloReactHooks from '@apollo/client';
export declare type ArticlesQueryVariables = Types.Exact<{
    search: Types.Scalars['String'];
}>;
export declare type ArticlesQuery = {
    __typename?: 'Query';
    Profile?: {
        __typename?: 'Profile';
        knowledgeBase?: {
            __typename?: 'KnowledgeBase';
            _id: string;
            articles: Array<{
                __typename?: 'KnowledgeBaseArticle';
                _id: string;
                articleId: string;
                categoryId: string;
                title: Array<{
                    __typename?: 'LocalizedString';
                    language: string;
                    value: string;
                }>;
                subtitle?: Array<{
                    __typename?: 'LocalizedString';
                    language: string;
                    value: string;
                } | null> | null;
                createdBy: {
                    __typename?: 'MemberUser';
                    _id: string;
                    name?: string | null;
                    lastName: string;
                    firstName: string;
                    logoURL?: string | null;
                };
                publishedBy: {
                    __typename?: 'MemberUser';
                    _id: string;
                    name?: string | null;
                    lastName: string;
                    firstName: string;
                    logoURL?: string | null;
                };
                content: Array<{
                    __typename?: 'KnowledgeBaseArticleVersionContent';
                    language: string;
                    value: Array<{
                        __typename?: 'CodeElement';
                        _id: string;
                        type: string;
                        children: Array<{
                            __typename?: 'InlineTextElement';
                            _id: string;
                            text: string;
                            bold?: boolean | null;
                            italic?: boolean | null;
                            underline?: boolean | null;
                        }>;
                    } | {
                        __typename?: 'HeadingElement';
                        _id: string;
                        type: string;
                        heading: string;
                        children: Array<{
                            __typename?: 'InlineTextElement';
                            _id: string;
                            text: string;
                            bold?: boolean | null;
                            italic?: boolean | null;
                            underline?: boolean | null;
                        }>;
                    } | {
                        __typename?: 'IframeElement';
                        _id: string;
                        type: string;
                        url: string;
                        children: Array<{
                            __typename?: 'InlineTextElement';
                            _id: string;
                            text: string;
                            bold?: boolean | null;
                            italic?: boolean | null;
                            underline?: boolean | null;
                        }>;
                    } | {
                        __typename?: 'ImageElement';
                        _id: string;
                        type: string;
                        id: string;
                        url: string;
                        children: Array<{
                            __typename?: 'InlineTextElement';
                            _id: string;
                            text: string;
                            bold?: boolean | null;
                            italic?: boolean | null;
                            underline?: boolean | null;
                        }>;
                    } | {
                        __typename?: 'OrderedListElement';
                        _id: string;
                        type: string;
                        children: Array<{
                            __typename?: 'ListElement';
                            _id: string;
                            type: string;
                            children?: Array<{
                                __typename?: 'InlineTextElement';
                                _id: string;
                                text: string;
                                bold?: boolean | null;
                                italic?: boolean | null;
                                underline?: boolean | null;
                            }> | null;
                        }>;
                    } | {
                        __typename?: 'ParagraphElement';
                        _id: string;
                        type: string;
                        children: Array<{
                            __typename?: 'InlineLinkElement';
                            _id: string;
                            url: string;
                            type: string;
                            children?: Array<{
                                __typename?: 'InlineTextElement';
                                _id: string;
                                text: string;
                                bold?: boolean | null;
                                italic?: boolean | null;
                                underline?: boolean | null;
                            }> | null;
                        } | {
                            __typename?: 'InlineTextElement';
                            _id: string;
                            text: string;
                            bold?: boolean | null;
                            italic?: boolean | null;
                            underline?: boolean | null;
                        }>;
                    } | {
                        __typename?: 'QuoteElement';
                        _id: string;
                        type: string;
                        children: Array<{
                            __typename?: 'InlineTextElement';
                            _id: string;
                            text: string;
                            bold?: boolean | null;
                            italic?: boolean | null;
                            underline?: boolean | null;
                        }>;
                    } | {
                        __typename?: 'UnorderedListElement';
                        _id: string;
                        type: string;
                        children: Array<{
                            __typename?: 'ListElement';
                            _id: string;
                            type: string;
                            children?: Array<{
                                __typename?: 'InlineTextElement';
                                _id: string;
                                text: string;
                                bold?: boolean | null;
                                italic?: boolean | null;
                                underline?: boolean | null;
                            }> | null;
                        }>;
                    }>;
                }>;
            }>;
        } | null;
    } | null;
};
export declare const ArticlesDocument: ApolloReactCommon.DocumentNode;
/**
 * __useArticlesQuery__
 *
 * To run a query within a React component, call `useArticlesQuery` and pass it any options that fit your needs.
 * When your component renders, `useArticlesQuery` 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 } = useArticlesQuery({
 *   variables: {
 *      search: // value for 'search'
 *   },
 * });
 */
export declare function useArticlesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<ArticlesQuery, ArticlesQueryVariables>): ApolloReactCommon.QueryResult<ArticlesQuery, Types.Exact<{
    search: string;
}>>;
export declare function useArticlesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<ArticlesQuery, ArticlesQueryVariables>): ApolloReactCommon.QueryTuple<ArticlesQuery, Types.Exact<{
    search: string;
}>>;
export declare type ArticlesQueryHookResult = ReturnType<typeof useArticlesQuery>;
export declare type ArticlesLazyQueryHookResult = ReturnType<typeof useArticlesLazyQuery>;
export declare type ArticlesQueryResult = ApolloReactCommon.QueryResult<ArticlesQuery, ArticlesQueryVariables>;
