import * as Types from '../../../../api/types';
import * as ApolloReactCommon from '@apollo/client';
import * as ApolloReactHooks from '@apollo/client';
export declare type KnowledgeBaseQueryVariables = Types.Exact<{
    [key: string]: never;
}>;
export declare type KnowledgeBaseQuery = {
    __typename?: 'Query';
    Profile?: {
        __typename?: 'Profile';
        knowledgeBase?: {
            __typename?: 'KnowledgeBase';
            _id: string;
            categories?: Array<{
                __typename?: 'KnowledgeBaseCategory';
                _id: string;
                logoURL?: string | null;
                createdAt: string;
                title?: Array<{
                    __typename?: 'LocalizedString';
                    language: string;
                    value: string;
                } | null> | null;
                subtitle?: Array<{
                    __typename?: 'LocalizedString';
                    language: string;
                    value: string;
                } | null> | null;
                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;
                        logoURL?: string | null;
                        lastName: string;
                        firstName: string;
                    };
                    publishedBy: {
                        __typename?: 'MemberUser';
                        _id: string;
                        name?: string | null;
                        logoURL?: string | null;
                        lastName: string;
                        firstName: string;
                    };
                    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;
        } | null;
    } | null;
};
export declare const KnowledgeBaseDocument: ApolloReactCommon.DocumentNode;
/**
 * __useKnowledgeBaseQuery__
 *
 * To run a query within a React component, call `useKnowledgeBaseQuery` and pass it any options that fit your needs.
 * When your component renders, `useKnowledgeBaseQuery` 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 } = useKnowledgeBaseQuery({
 *   variables: {
 *   },
 * });
 */
export declare function useKnowledgeBaseQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<KnowledgeBaseQuery, KnowledgeBaseQueryVariables>): ApolloReactCommon.QueryResult<KnowledgeBaseQuery, Types.Exact<{
    [key: string]: never;
}>>;
export declare function useKnowledgeBaseLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<KnowledgeBaseQuery, KnowledgeBaseQueryVariables>): ApolloReactCommon.QueryTuple<KnowledgeBaseQuery, Types.Exact<{
    [key: string]: never;
}>>;
export declare type KnowledgeBaseQueryHookResult = ReturnType<typeof useKnowledgeBaseQuery>;
export declare type KnowledgeBaseLazyQueryHookResult = ReturnType<typeof useKnowledgeBaseLazyQuery>;
export declare type KnowledgeBaseQueryResult = ApolloReactCommon.QueryResult<KnowledgeBaseQuery, KnowledgeBaseQueryVariables>;
