import { ApiKey } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class ApiKeyService extends CRUDService<ApiKey> {
    protected hasOneModels: ICrudService<ApiKey>['hasOneModels'];
    get create(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<ApiKey>, import("../../..").ModelWithId>> & Omit<import("../API").CreateApiKey, import("../core").HasOneRelationsOf<ApiKey>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ApiKeyCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateApiKey;
    }>>>) => Promise<{
        __typename?: "ApiKey";
        id: string;
        name?: string;
        description?: string;
        isKeyEnabled?: boolean;
        organizationID: string;
        productID: string;
        apiGateWayGeneratedID?: string;
        apiKeyValue?: string;
        updated_at: any;
        created_at: any;
    }>;
    get useCreate(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ApiKeyCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateApiKey;
    }>>>>) => [(payload: import("../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ApiKeyCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateApiKey;
    }>>, ApiKey>) => Promise<{
        __typename?: "ApiKey";
        id: string;
        name?: string;
        description?: string;
        isKeyEnabled?: boolean;
        organizationID: string;
        productID: string;
        apiGateWayGeneratedID?: string;
        apiKeyValue?: string;
        updated_at: any;
        created_at: any;
    }>, import("@apollo/client").MutationResult<{
        createOne: import("../../..").ModelWithId;
    }>];
    get delete(): (id: string, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ApiKeyDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneApiKeyInput;
    }>>>) => Promise<{
        __typename?: "ApiKeyDeleteResponse";
        id?: string;
    }>;
    get useDelete(): (options?: import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ApiKeyDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneApiKeyInput;
    }>>>) => [(id?: string) => Promise<{
        __typename?: "ApiKeyDeleteResponse";
        id?: string;
    }>, import("@apollo/client").MutationResult<import("../API").ApiKeyDeleteOneMutation>];
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").ApiKeyFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ApiKeySort | import("../API").ApiKeySort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ApiKeyListQuery, import("../API").Exact<{
        filter?: import("../API").ApiKeyFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ApiKeySort | import("../API").ApiKeySort[];
    }>>>) => Promise<{
        __typename?: "ApiKeyConnection";
        totalCount: number;
        edges: {
            __typename?: "ApiKeyEdge";
            cursor: any;
            node: {
                __typename?: "ApiKey";
                id: string;
                name?: string;
                description?: string;
                isKeyEnabled?: boolean;
                organizationID: string;
                productID: string;
                apiGateWayGeneratedID?: string;
                apiKeyValue?: string;
                updated_at: any;
                created_at: any;
            };
        }[];
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: any;
            hasNextPage?: boolean;
            hasPreviousPage?: boolean;
            startCursor?: any;
        };
    }>;
    get useList(): (options: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ApiKeyListQuery, import("../API").Exact<{
        filter?: import("../API").ApiKeyFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ApiKeySort | import("../API").ApiKeySort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").ApiKeyListQuery, import("../API").Exact<{
            filter?: import("../API").ApiKeyFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ApiKeySort | import("../API").ApiKeySort[];
        }>>;
        data: import("../API").ApiKeyListQuery;
        previousData?: import("../API").ApiKeyListQuery;
        error?: import("@apollo/client").ApolloError;
        errors?: readonly import("graphql").GraphQLFormattedError[];
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").ApiKeyListQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").ApiKeyFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ApiKeySort | import("../API").ApiKeySort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").ApiKeyListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").ApiKeyFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ApiKeySort | import("../API").ApiKeySort[];
        }>>(mapFn: (previousQueryResult: import("../API").ApiKeyListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").ApiKeyListQuery>, "variables">) => import("../API").ApiKeyListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").ApiKeyFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ApiKeySort | import("../API").ApiKeySort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ApiKeyListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").ApiKeyFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ApiKeySort | import("../API").ApiKeySort[];
        }>, import("../API").ApiKeyListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ApiKeyListQuery>>;
        variables: import("../API").Exact<{
            filter?: import("../API").ApiKeyFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ApiKeySort | import("../API").ApiKeySort[];
        }>;
        fetchMore: <TFetchData = import("../API").ApiKeyListQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").ApiKeyFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ApiKeySort | import("../API").ApiKeySort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").ApiKeyListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").ApiKeyListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
