import * as tarat_core from 'tarat/core'; import * as immer_dist_internal from 'immer/dist/internal'; import * as tarat_post_comments_dist_drivers_topic from 'tarat-post-comments/dist/drivers/topic'; declare function topic(): { topics: { (): tarat_post_comments_dist_drivers_topic.ITopic[]; (paramter: (draft: immer_dist_internal.WritableDraft[]) => void): Promise<[tarat_post_comments_dist_drivers_topic.ITopic[], tarat_core.IPatch[]]>; } & { _hook: tarat_core.Prisma; exist: (obj: Partial) => Promise; refresh: () => Promise; }; writeTopics: (() => never) & { _hook: tarat_core.WritePrisma<{ title: string; }>; create: (obj?: Partial<{ title: string; }>, include?: { title: boolean; }) => Promise; update: (where: number, obj?: { [k: string]: any; }) => Promise; remove: (where?: number) => Promise; }; add: ((...arg: any[]) => Promise) & { _hook: tarat_core.Hook; }; inputName: { (): string; (paramter: (draft: string) => void): [any, tarat_core.IPatch[]]; } & { _hook: tarat_core.State; }; }; export { topic as default };