// TODO: V2 use IUpdateChannel as param type when hoisted to hub.js from service
import { __rest } from "tslib";
/**
 * @hidden
 * @internal
 */
export function dtoToChannel(dto) {
    const { channelAclDefinition } = dto, rest = __rest(dto, ["channelAclDefinition"]);
    return Object.assign(Object.assign({}, rest), { channelAcl: channelAclDefinition });
}
//# sourceMappingURL=channel-to-dto-map.js.map