import { ACLOperationsEnum, CRUDOperationsEnum } from "./constants"; export declare const operationCRUDToACL: (operation: CRUDOperationsEnum) => ACLOperationsEnum | undefined; /** * Checks if a value is a string */ export declare const isString: (value: unknown) => value is string; /** * Checks if a value is a non-empty string * @param value - The value to check * @returns True if the value is a non-empty string, false otherwise */ export declare const isStringContent: (value: unknown) => value is string; /** * Checks if a value is a function */ export declare const isFunction: (value: unknown) => value is Function; /** * Type guard to check if a value is an object. * * @param value - The value to check * @returns True if the value is an object, false otherwise */ export declare const isObject: (value: unknown) => value is Record; /** * Prepares and returns fields in a consistent format based on the input type and primary key. * * Accepts: * - `string[]` – returned as-is when non-empty * - `string` – wrapped in a single-element array * - indexed plain object (`{"0":"id","1":"status"}`) – converted to a sorted array (compatibility * shim for query-string parsers such as `qs` that exceed `arrayLimit` and serialize arrays as * objects with numeric string keys) * - anything else / empty – falls back to `[primaryKey]` */ export declare const prepareFields: (fields: unknown, primaryKey: string) => T; /** * Strips undefined values from an object, returning a new object with only defined values. * * @param obj - The object to strip undefined values from * @returns A new object with undefined values removed */ export declare const stripUndefinedValuesFromObject: >(obj: T) => T; /** * Formats a syntax error message for a specific line and column in a source string. * * @param source - The source string to search for the error * @param line - The line number where the error occurred (1-based) * @param column - The column number where the error occurred (1-based) * @param offset - The character offset where the error occurred (0-based) * @returns A formatted error message */ export declare const formatSyntaxError: (source: string, line: number, column: number, offset: number) => string;