import { Item } from '../baseItem.js'; import { ItemSettings } from '../itemSettings.js'; import { ItemType } from '../itemType.js'; import { UnionOfConst } from '../../typeUtils.js'; export type EtherpadItemType = { type: typeof ItemType.ETHERPAD; extra: EtherpadItemExtra; } & Item; export declare const EtherpadPermission: { readonly Write: "write"; readonly Read: "read"; }; export type EtherpadPermissionType = UnionOfConst; /** * Etherpad Extra */ export type EtherpadItemExtraProperties = { padID: string; groupID: string; readerPermission?: EtherpadPermissionType; }; export interface EtherpadItemExtra { [ItemType.ETHERPAD]: EtherpadItemExtraProperties; } export declare const getEtherpadExtra: (extra: U) => U[typeof ItemType.ETHERPAD]; export declare const buildEtherpadExtra: (extra: EtherpadItemExtraProperties) => EtherpadItemExtra;