import { Base, Reference } from './types.js';
export type CustomLogger = (message?: string, ...optionalParams: unknown[]) => void;
export type Fetcher = (input: string | URL | Request, init?: RequestInit) => Promise<Response>;
export declare function isBase(maybeBase?: unknown): maybeBase is Base;
export declare function isReference(maybeRef?: unknown): maybeRef is Reference;
export declare function isScalar(value: unknown): value is string | number | boolean | bigint | symbol | undefined;
export declare function take<T>(it: Iterator<T>, count: number): T[];
export declare enum ObjectLoader2Flags {
    DEBUG = "debug",
    USE_CACHE = "useCache"
}
export declare function getFeatureFlag(paramName: ObjectLoader2Flags, useDefault?: boolean): string | undefined;
/**
 * Finds the first index of a "needle" Uint8Array within a "haystack" Uint8Array.
 * @param haystack The larger array to search within.
 * @param needle The smaller array to search for.
 * @param start The index to start searching from. Defaults to 0.
 * @returns The starting index of the needle, or -1 if not found.
 */
export declare function indexOf(haystack: Uint8Array, needle: Uint8Array, start?: number): number;
//# sourceMappingURL=functions.d.ts.map