import type { ChannelOclResource } from "./channelOclResource"; import type { ChannelVersionRuleResource } from "./channelVersionRuleResource"; import type { ICommitCommand } from "./commitCommand"; import type { NamedResource } from "./namedResource"; import type { NewSpaceScopedResource } from "./spaceScopedResource"; export interface ChannelResource extends NamedResource { Description: string; ProjectId: string; LifecycleId: string | null; IsDefault: boolean; SpaceId: string; Rules: ChannelVersionRuleResource[]; TenantTags: string[]; } export interface NewChannelResource extends NewSpaceScopedResource { Description?: string; IsDefault?: boolean; LifecycleId?: string; Name: string; ProjectId: string; Rules?: ChannelVersionRuleResource[]; SpaceId?: string; TenantTags?: string[]; } export declare function NewChannel(name: string, projectId: string): NewChannelResource; export declare type ModifyChannelOclCommand = ChannelOclResource & ICommitCommand; export declare type ModifyChannelCommand = ChannelResource & ICommitCommand; export declare type CreateChannelCommand = NewChannelResource & ICommitCommand;