import { Domain } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class DomainService extends CRUDService<Domain> {
    protected hasOneModels: ICrudService<Domain>['hasOneModels'];
    get create(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Domain>, import("../../..").ModelWithId>> & Omit<import("../API").CreateDomain, import("../core").HasOneRelationsOf<Domain>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DomainCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateDomain;
    }>>>) => Promise<{
        __typename?: "Domain";
        id: string;
        accountID?: string;
        domain: string;
        organizationID: string;
        syncUsers?: boolean;
        created_at: any;
        updated_at: any;
    }>;
    get useCreate(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DomainCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateDomain;
    }>>>>) => [(payload: import("../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DomainCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateDomain;
    }>>, Domain>) => Promise<{
        __typename?: "Domain";
        id: string;
        accountID?: string;
        domain: string;
        organizationID: string;
        syncUsers?: boolean;
        created_at: any;
        updated_at: any;
    }>, import("@apollo/client").MutationResult<any>];
    get update(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Domain>, import("../../..").ModelWithId>> & Omit<import("../API").UpdateDomain, import("../core").HasOneRelationsOf<Domain>> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DomainUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneDomainInput;
    }>>>) => Promise<{
        __typename?: "Domain";
        id: string;
        accountID?: string;
        domain: string;
        organizationID: string;
        syncUsers?: boolean;
        created_at: any;
        updated_at: any;
    }>;
    get useUpdate(): (mainOptions?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DomainUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneDomainInput;
    }>>>>) => [({ id, ...input }: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Domain>, import("../../..").ModelWithId>> & import("../API").UpdateDomain & {
        id: string;
    }, options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DomainUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneDomainInput;
    }>>>>) => Promise<any>, import("@apollo/client").MutationResult<any>];
    get delete(): (id: string, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DomainDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneDomainInput;
    }>>>) => Promise<{
        __typename?: "DomainDeleteResponse";
        id?: string;
    }>;
}
