import { WhiteLabel } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class WhiteLabelService extends CRUDService<WhiteLabel> {
    protected hasOneModels: ICrudService<WhiteLabel>['hasOneModels'];
    get create(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<WhiteLabel>, import("../../..").ModelWithId>> & Omit<import("../API").CreateWhiteLabelInput, import("../core").HasOneRelationsOf<WhiteLabel>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WhiteLabelCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateWhiteLabelInput;
    }>>>) => Promise<{
        __typename?: "WhiteLabel";
        id: string;
        name?: string;
        backgroundColor?: string;
        backgroundPosition?: import("../API").BackgroundPositionType;
        backgroundImageSize?: import("../API").BackgroundImageSize;
        logo?: {
            __typename?: "Attachment";
            id: string;
            signedUrl: string;
        };
        backgroundImage?: {
            __typename?: "Attachment";
            id: string;
            signedUrl: string;
        };
    }>;
    get useCreate(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WhiteLabelCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateWhiteLabelInput;
    }>>>>) => [(payload: import("../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WhiteLabelCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateWhiteLabelInput;
    }>>, WhiteLabel>) => Promise<{
        __typename?: "WhiteLabel";
        id: string;
        name?: string;
        backgroundColor?: string;
        backgroundPosition?: import("../API").BackgroundPositionType;
        backgroundImageSize?: import("../API").BackgroundImageSize;
        logo?: {
            __typename?: "Attachment";
            id: string;
            signedUrl: string;
        };
        backgroundImage?: {
            __typename?: "Attachment";
            id: string;
            signedUrl: string;
        };
    }>, import("@apollo/client").MutationResult<any>];
    get update(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<WhiteLabel>, import("../../..").ModelWithId>> & Omit<import("../API").UpdateWhiteLabel, import("../core").HasOneRelationsOf<WhiteLabel>> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WhiteLabelUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateWhiteLabelInput;
    }>>>) => Promise<{
        __typename?: "WhiteLabel";
        id: string;
        name?: string;
        backgroundColor?: string;
        backgroundPosition?: import("../API").BackgroundPositionType;
        backgroundImageSize?: import("../API").BackgroundImageSize;
        logo?: {
            __typename?: "Attachment";
            id: string;
            signedUrl: string;
        };
        backgroundImage?: {
            __typename?: "Attachment";
            id: string;
            signedUrl: string;
        };
    }>;
    get useUpdate(): (mainOptions?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WhiteLabelUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateWhiteLabelInput;
    }>>>>) => [({ id, ...input }: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<WhiteLabel>, import("../../..").ModelWithId>> & import("../API").UpdateWhiteLabel & {
        id: string;
    }, options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WhiteLabelUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateWhiteLabelInput;
    }>>>>) => Promise<any>, import("@apollo/client").MutationResult<any>];
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").WhiteLabelFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").WhiteLabelSort | import("../API").WhiteLabelSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WhiteLabelListQuery, import("../API").Exact<{
        filter?: import("../API").WhiteLabelFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").WhiteLabelSort | import("../API").WhiteLabelSort[];
    }>>>) => Promise<{
        __typename?: "WhiteLabelConnection";
        edges: {
            __typename?: "WhiteLabelEdge";
            node: {
                __typename?: "WhiteLabel";
                id: string;
                name?: string;
                backgroundColor?: string;
                backgroundPosition?: import("../API").BackgroundPositionType;
                backgroundImageSize?: import("../API").BackgroundImageSize;
                logo?: {
                    __typename?: "Attachment";
                    id: string;
                    signedUrl: string;
                };
                backgroundImage?: {
                    __typename?: "Attachment";
                    id: string;
                    signedUrl: string;
                };
            };
        }[];
    }>;
    get useList(): (options: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WhiteLabelListQuery, import("../API").Exact<{
        filter?: import("../API").WhiteLabelFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").WhiteLabelSort | import("../API").WhiteLabelSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").WhiteLabelListQuery, import("../API").Exact<{
            filter?: import("../API").WhiteLabelFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WhiteLabelSort | import("../API").WhiteLabelSort[];
        }>>;
        data: import("../API").WhiteLabelListQuery;
        previousData?: import("../API").WhiteLabelListQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            filter?: import("../API").WhiteLabelFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WhiteLabelSort | import("../API").WhiteLabelSort[];
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").WhiteLabelListQuery, TSubscriptionVariables = import("../API").Exact<{
            filter?: import("../API").WhiteLabelFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WhiteLabelSort | import("../API").WhiteLabelSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").WhiteLabelListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            filter?: import("../API").WhiteLabelFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WhiteLabelSort | import("../API").WhiteLabelSort[];
        }>>(mapFn: (previousQueryResult: import("../API").WhiteLabelListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").WhiteLabelListQuery>, "variables">) => import("../API").WhiteLabelListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").WhiteLabelFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WhiteLabelSort | import("../API").WhiteLabelSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").WhiteLabelListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").WhiteLabelFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WhiteLabelSort | import("../API").WhiteLabelSort[];
        }>, import("../API").WhiteLabelListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").WhiteLabelListQuery>>;
        fetchMore: <TFetchData = import("../API").WhiteLabelListQuery, TFetchVars = import("../API").Exact<{
            filter?: import("../API").WhiteLabelFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WhiteLabelSort | import("../API").WhiteLabelSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").WhiteLabelListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").WhiteLabelListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get delete(): (id: string, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WhiteLabelDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneInput;
    }>>>) => Promise<{
        __typename?: "WhiteLabel";
        id: string;
    }>;
    get useDelete(): (options?: import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WhiteLabelDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneInput;
    }>>>) => [(id?: string) => Promise<{
        __typename?: "WhiteLabel";
        id: string;
    }>, import("@apollo/client").MutationResult<import("../API").WhiteLabelDeleteOneMutation>];
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../API").Exact<{
        id: string;
    }>, import("../API").WhiteLabelGetQuery>, "query">) => Promise<{
        __typename?: "WhiteLabel";
        id: string;
        name?: string;
        backgroundColor?: string;
        backgroundPosition?: import("../API").BackgroundPositionType;
        backgroundImageSize?: import("../API").BackgroundImageSize;
        logo?: {
            __typename?: "Attachment";
            id: string;
            signedUrl: string;
        };
        backgroundImage?: {
            __typename?: "Attachment";
            id: string;
            signedUrl: string;
        };
    }>;
    get useGet(): (options: import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WhiteLabelGetQuery, import("../API").Exact<{
        id: string;
    }>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").WhiteLabelGetQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").WhiteLabelGetQuery;
        previousData?: import("../API").WhiteLabelGetQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            id: string;
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").WhiteLabelGetQuery, TSubscriptionVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").WhiteLabelGetQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").WhiteLabelGetQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").WhiteLabelGetQuery>, "variables">) => import("../API").WhiteLabelGetQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").WhiteLabelGetQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").WhiteLabelGetQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").WhiteLabelGetQuery>>;
        fetchMore: <TFetchData = import("../API").WhiteLabelGetQuery, TFetchVars = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").WhiteLabelGetQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").WhiteLabelGetQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
