import { t as handleValueOrFn } from "../handleValueOrFn-4-yw9hYF.js"; //#region src/utils/createDeferredPromise.d.ts type Callback = (val?: any) => void; /** * Create a promise that can be resolved or rejected from * outside the Promise constructor callback * A ES6 compatible utility that implements `Promise.withResolvers` * * @internal */ declare const createDeferredPromise: () => { promise: Promise; resolve: Callback; reject: Callback; }; //#endregion //#region src/utils/allSettled.d.ts /** * A ES6 compatible utility that implements `Promise.allSettled` * * @internal */ declare function allSettled(iterable: Iterable>): Promise<({ status: 'fulfilled'; value: T; } | { status: 'rejected'; reason: any; })[]>; //#endregion //#region src/utils/instance.d.ts /** * Check if the frontendApi ends with a staging domain */ declare function isStaging(frontendApi: string): boolean; //#endregion //#region src/utils/logErrorInDevMode.d.ts declare const logErrorInDevMode: (message: string) => void; //#endregion //#region src/utils/noop.d.ts declare const noop: (..._args: any[]) => void; //#endregion //#region src/utils/runtimeEnvironment.d.ts declare const isDevelopmentEnvironment: () => boolean; declare const isTestEnvironment: () => boolean; declare const isProductionEnvironment: () => boolean; //#endregion //#region src/utils/runIfFunctionOrReturn.d.ts /** * */ declare function runIfFunctionOrReturn(o: unknown): any; //#endregion //#region src/utils/fastDeepMerge.d.ts /** * Merges 2 objects without creating new object references * The merged props will appear on the `target` object * If `target` already has a value for a given key it will not be overwritten */ declare const fastDeepMergeAndReplace: (source: Record | undefined | null, target: Record | undefined | null) => void; declare const fastDeepMergeAndKeep: (source: Record | undefined | null, target: Record | undefined | null) => void; //#endregion export { allSettled, createDeferredPromise, fastDeepMergeAndKeep, fastDeepMergeAndReplace, handleValueOrFn, isDevelopmentEnvironment, isProductionEnvironment, isStaging, isTestEnvironment, logErrorInDevMode, noop, runIfFunctionOrReturn }; //# sourceMappingURL=index.d.ts.map