/// import { SvelteComponentTyped } from "svelte"; export interface DocumentProps { id?: string; collection?: string; document?: any; cache?: boolean; } export default class Document extends SvelteComponentTyped< DocumentProps, { change: CustomEvent }, { default: { document: any; actions: { reload: () => Promise; update: (data: any) => Promise; remove: () => Promise; }; }; error: { error: any }; loading: {}; } > {}