claritykit-svelte
Version:
A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility
43 lines • 1.48 kB
TypeScript
import type { ChatMessage, MessageThread } from './types.js';
type $$ComponentProps = {
messages: ChatMessage[];
threads?: MessageThread[];
currentMessageId?: string;
unreadMessageIds?: string[];
showControls?: boolean;
showMiniMap?: boolean;
showUnreadOnly?: boolean;
class?: string;
};
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 ThreadNavigation: $$__sveltets_2_IsomorphicComponent<$$ComponentProps, {
jumpTo: CustomEvent<{
messageId: string;
highlight?: boolean;
}>;
jumpToThread: CustomEvent<{
threadId: string;
}>;
jumpToParent: CustomEvent<{
parentId: string;
}>;
showAll: CustomEvent<void>;
showUnreadOnly: CustomEvent<void>;
} & {
[evt: string]: CustomEvent<any>;
}, {}, {}, "">;
type ThreadNavigation = InstanceType<typeof ThreadNavigation>;
export default ThreadNavigation;
//# sourceMappingURL=ThreadNavigation.svelte.d.ts.map