claritykit-svelte
Version:
A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility
33 lines • 1.19 kB
TypeScript
import type { UserAwarenessProps, UserInfo } 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 UserAwareness: $$__sveltets_2_IsomorphicComponent<UserAwarenessProps, {
'cursor-moved': CustomEvent<{
userId: string;
position: number;
}>;
'selection-changed': CustomEvent<{
userId: string;
start: number;
end: number;
}>;
'user-clicked': CustomEvent<{
user: UserInfo;
}>;
} & {
[evt: string]: CustomEvent<any>;
}, {}, {}, "">;
type UserAwareness = InstanceType<typeof UserAwareness>;
export default UserAwareness;
//# sourceMappingURL=UserAwareness.svelte.d.ts.map