import { SvelteComponentTyped } from "svelte"; export declare const currentHref: Writable; import { type Writable } from "svelte/store"; declare const __propDef: { props: { /** * Native element */ htmlElement?: HTMLAnchorElement | null | undefined; /** * href for the link */ href: string; /** * allows wrapping when true */ multiline?: boolean | undefined; /** * controls whether the sidebar containing it will be closed when the link is clicked */ closeOnClick?: boolean | undefined; }; events: { [evt: string]: CustomEvent; }; slots: { default: {}; }; }; export type SidebarLinkProps = typeof __propDef.props; export type SidebarLinkEvents = typeof __propDef.events; export type SidebarLinkSlots = typeof __propDef.slots; /** * SidebarLink * * Props: * - htmlElement (HTMLAnchorElement|null): Native `` element * - href (string): href for the link * - multiline (boolean): allows wrapping when true * - closeOnClick (boolean): controls whether the sidebar containing it will be closed when the link is clicked * * Slots: * - default: text to be displayed in the the link * * Css Variables: * - sidebarCurrent (default:#bf5383): Color of text and indicator when on the page matched by href * - sidebarLinkFont (default: 600 0.875rem sans-serif): Font for the link * - sidebarLinkText (default: #161616): Color for the link text * - sidebarLinkBgFocus (default: #c0c0c0): Bacground color of the link when focused * - sidebarLinkTextFocus (default: #161616): Text color for the link text when focused */ export default class SidebarLink extends SvelteComponentTyped { } export {};