export type Locatable = URL | string; export declare function expandURL(locatable: Locatable): URL; export declare function relativeURL(url: URL): string; export type DispatchOptions = { target: EventTarget & { isConnected?: boolean; }; cancelable: boolean; detail: T; }; export declare function dispatch(eventName: string, { target, cancelable, detail }?: Partial>): CustomEvent; export declare function debounce(target: Element, callback: () => void, interval?: number): void; export declare function cancelDebounce(target: Element): void; export declare function throttle(target: Element, callback: () => void, interval?: number): void; export declare function cancelThrottle(target: Element): void; export declare function parseIntWithDefault(value: string | null, defaultValue?: number): number;