import { CreateChannelResult, DeletionResponse, MutationCreateChannelArgs, MutationDeleteChannelArgs, MutationUpdateChannelArgs, QueryChannelArgs, UpdateChannelResult } from '@subit/common/lib/generated-types'; import { ErrorResultUnion } from '../../../common/error/error-result'; import { Channel } from '../../../entity/channel/channel.entity'; import { ChannelService } from '../../../service/services/channel.service'; import { RoleService } from '../../../service/services/role.service'; import { RequestContext } from '../../common/request-context'; export declare class ChannelResolver { private channelService; private roleService; constructor(channelService: ChannelService, roleService: RoleService); channels(ctx: RequestContext): Promise; 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; }