@edtr-io/plugin-text
Version:
12 lines • 423 B
TypeScript
import { StateDescriptor } from './types';
export declare function list<S, T = S, U = unknown>(type: StateDescriptor<S, T, U>, initialCount?: number): StateDescriptor<S[], {
id: string;
value: T;
}[], {
(): U[];
items: U[];
insert: (index?: number, options?: S) => void;
remove: (index: number) => void;
move: (from: number, to: number) => void;
}>;
//# sourceMappingURL=list.d.ts.map