import { DeletionResponse, EmailAddressConflictError, LanguageNotAvailableError, MutationAddVendorsToCategoryArgs, MutationCreateChannelArgs, MutationCreateVendorCategoryArgs, MutationDeleteChannelArgs, MutationDeleteVendorCategoryArgs, MutationRemoveVendorsFromCategoryArgs, MutationUpdateChannelArgs, MutationUpdateVendorCategoryArgs, QueryChannelArgs, QueryVendorCategoriesArgs, QueryVendorCategoryArgs, QueryVendorsArgs } from '@ishop/common/lib/generated-types'; import { PaginatedList } from '@ishop/common/lib/shared-types'; import { ErrorResultUnion } from '../../../common/error/error-result'; import { Category, ChannelVendor, Vendor } from '../../../entity'; import { Channel } from '../../../entity/channel/channel.entity'; import { ChannelService } from '../../../service/services/channel.service'; import { RoleService } from '../../../service/services/role.service'; import { VendorService } from '../../../service/services/vendor.service'; import { RequestContext } from '../../common/request-context'; import { Translated } from '../../../common'; export declare class ChannelResolver { private channelService; private roleService; private vendorService; constructor(channelService: ChannelService, roleService: RoleService, vendorService: VendorService); channels(ctx: RequestContext): Promise; vendors(ctx: RequestContext, args: QueryVendorsArgs): Promise>; /** * Calling from admin ui to edit channel * @param ctx * @param args * @returns */ channel(ctx: RequestContext, args: QueryChannelArgs): Promise; activeChannel(ctx: RequestContext): Promise; createChannel(ctx: RequestContext, args: MutationCreateChannelArgs): Promise>; updateChannel(ctx: RequestContext, args: MutationUpdateChannelArgs): Promise>; deleteChannel(ctx: RequestContext, args: MutationDeleteChannelArgs): Promise; patchChannelVendor(ctx: RequestContext, channel: Channel, vendor: Vendor): ChannelVendor; createVendorCategory(ctx: RequestContext, args: MutationCreateVendorCategoryArgs): Promise>; updateVendorCategory(ctx: RequestContext, args: MutationUpdateVendorCategoryArgs): Promise>; vendorCategories(ctx: RequestContext, args: QueryVendorCategoriesArgs): Promise>>; vendorCategory(ctx: RequestContext, args: QueryVendorCategoryArgs): Promise | undefined>; deleteVendorCategory(ctx: RequestContext, args: MutationDeleteVendorCategoryArgs): Promise; addVendorsToCategory(ctx: RequestContext, args: MutationAddVendorsToCategoryArgs): Promise; removeVendorsFromCategory(ctx: RequestContext, args: MutationRemoveVendorsFromCategoryArgs): Promise; }