import { DispatchEventOptions, DispatchEventPayload, SwissAttrs, SwissEvent } from "../../global/types/index.js"; import { LoaderReturn } from "../../global/use/types.js"; export declare const use: { path(componentPath: string): (resourcePath: string) => string; dispatch(): (name: Attrs extends SwissAttrs ? SwissEvent : string, payload: DispatchEventPayload, options?: DispatchEventOptions) => void; loader(id: string, loader: () => Promise, initial: Initial, _: unknown[]): LoaderReturn; memo: typeof import("preact/hooks").useMemo; state: typeof import("preact/hooks").useState; effect: typeof import("preact/hooks").useEffect; callback: typeof import("preact/hooks").useCallback; reducer: typeof import("preact/hooks").useReducer; layoutEffect: typeof import("preact/hooks").useLayoutEffect; ref: typeof import("preact/hooks").useRef; id: typeof import("preact/hooks").useId; imperativeHandle: typeof import("preact/hooks").useImperativeHandle; errorBoundary: typeof import("preact/hooks").useErrorBoundary; debugValue: typeof import("preact/hooks").useDebugValue; mount: (fn: import("preact/hooks").EffectCallback) => void; unmount: (fn: import("preact/hooks").EffectCallback) => void; env: () => import("../../global/use/types.js").EnvContext; attrs(map: Map_1): import("../../global/use/types.js").AttrsReturn; }; //# sourceMappingURL=index.d.ts.map