//#region src/extensions/sdk/channel-entry.ts
function defineChannelPluginEntry(options) {
	return {
		id: options.id,
		name: options.name,
		description: options.description,
		register(api) {
			options.setRuntime?.(api);
			api.registerChannel({ plugin: options.plugin });
			options.registerFull?.(api);
		}
	};
}
//#endregion
export { defineChannelPluginEntry };

//# sourceMappingURL=channel-entry.js.map