UNPKG

@daks.dev/svelte.sdk

Version:
68 lines (67 loc) 2 kB
import type { NavBrand, NavItem } from '../../ui/navigate/index.d.ts'; import type { Custom } from './index.d.ts'; 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; } type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends { default: any; } ? Props extends Record<string, never> ? any : { children?: any; } : {}); declare const NavbarKit: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{ class?: ClassName; custom?: Partial<Custom>; links: Partial<NavItem>[]; scope?: string[]; paging?: boolean; duration?: number; centered?: boolean; size?: number | string; brand?: Partial<NavBrand>; }, { before: { scrolled: boolean; close: () => boolean; custom: Partial<Custom>; }; after: { scrolled: boolean; close: () => boolean; custom: Partial<Custom>; }; default: { scrolled: boolean; close: () => boolean; custom: Partial<Custom>; }; }>, { [evt: string]: CustomEvent<any>; }, { before: { scrolled: boolean; close: () => boolean; custom: Partial<Custom>; }; after: { scrolled: boolean; close: () => boolean; custom: Partial<Custom>; }; default: { scrolled: boolean; close: () => boolean; custom: Partial<Custom>; }; }, {}, string>; type NavbarKit = InstanceType<typeof NavbarKit>; export default NavbarKit;