claritykit-svelte
Version:
A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility
49 lines • 1.71 kB
TypeScript
import type { SemanticTaggerProps, Concept, SimpleTag, BulkOperation, ConceptInstance } from './types';
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
$$bindings?: Bindings;
} & Exports;
(internal: unknown, props: Props & {
$$events?: Events;
$$slots?: Slots;
}): Exports & {
$set?: any;
$on?: any;
};
z_$$bindings?: Bindings;
}
declare const SemanticTagger: $$__sveltets_2_IsomorphicComponent<SemanticTaggerProps, {
'items-changed': CustomEvent<{
blockId: string;
items: string[];
added?: string[];
removed?: string[];
}>;
'concept-created': CustomEvent<{
concept: Concept;
blockId: string;
}>;
'tag-created': CustomEvent<{
tag: SimpleTag;
blockId: string;
}>;
'concept-selected': CustomEvent<{
concept: Concept;
action: "explore" | "edit" | "merge" | "create-instance";
}>;
'instance-created': CustomEvent<{
instance: ConceptInstance;
conceptId: string;
blockId: string;
}>;
'bulk-operation': CustomEvent<{
operation: BulkOperation;
items: string[];
blockIds?: string[];
}>;
} & {
[evt: string]: CustomEvent<any>;
}, {}, {}, "selectedItems">;
type SemanticTagger = InstanceType<typeof SemanticTagger>;
export default SemanticTagger;
//# sourceMappingURL=SemanticTagger.svelte.d.ts.map