import { n as MessageOptions } from "./types-CbJroQxH.mjs"; import "./palette-CnNPXdwC.mjs"; import * as React$1 from "react"; //#region src/lib/arrUtil.d.ts declare function arrayEquals(a: any, b: any): boolean; declare function getIndexLetter(index: number): string; declare function isArrayOfString(value: unknown): value is string[]; //#endregion //#region src/lib/error.d.ts declare function isErrorLike(err: any): err is Error; declare function parseError(err: any): [string, MessageOptions] | null; //#endregion //#region src/lib/fetch.d.ts type CustomFetchOptions = Omit & { body?: BodyInit | { [key: string]: unknown; }; urlParams?: { [key: string]: string | number; }; query?: { [key: string]: unknown; }; }; declare function fetchAPI(urlObjOrString: string | URL, enhancedOptions?: CustomFetchOptions, baseUrl?: string, baseOptions?: RequestInit): Promise; declare class FetchError extends Error { status: number; data?: unknown; constructor(message: string, status: number, data?: unknown); } //#endregion //#region src/lib/compose-refs.d.ts type PossibleRef = React$1.Ref | undefined; /** * A utility to compose multiple refs together * Accepts callback refs and RefObject(s) */ declare function composeRefs(...refs: PossibleRef[]): React$1.RefCallback; /** * A custom hook that composes multiple refs * Accepts callback refs and RefObject(s) */ declare function useComposedRefs(...refs: PossibleRef[]): React$1.RefCallback; //#endregion //#region src/lib/invariant.d.ts declare function invariant(condition: any, message?: string): asserts condition; //#endregion //#region src/lib/strUtil.d.ts declare function slugify(str: string, allowSlash?: boolean, trimTrailing?: boolean): string; //#endregion export { CustomFetchOptions as a, isErrorLike as c, getIndexLetter as d, isArrayOfString as f, useComposedRefs as i, parseError as l, invariant as n, FetchError as o, composeRefs as r, fetchAPI as s, slugify as t, arrayEquals as u }; //# sourceMappingURL=index-LDY3JreK.d.mts.map