/**
 * Parse JSON input that can be either an object or a string
 * @param param - The parameter to parse (object or JSON string)
 * @param options - Options for parsing
 * @returns Parsed object or stringified JSON based on options
 */
export declare function parseJSON<T extends 'object' | 'string' = 'object'>(param?: Record<string, unknown> | string, options?: {
    returnType?: T;
    escapePercent?: boolean;
}): T extends 'string' ? string : Record<string, unknown>;
export declare const parseObjectOrStringJSON: (name: string, param?: Record<string, unknown> | string) => string;
export declare const parseObjectOrStringJSONToRecord: (name: string, param?: Record<string, unknown> | string) => Record<string, unknown>;
export declare const validateJSON: (str: string, paramName: string) => string;
export declare const sanitizeKey: (input: string) => string;
export declare const parseOptionalBoolean: (val?: boolean) => "true" | "false" | "";
export declare const strToBoolean: (str: string) => boolean;
export declare const strToOptionalBoolean: (str: string) => boolean | undefined;
export declare const strToDefaultBoolean: (str: string, defaultValue: boolean) => boolean;
export { isValidColor, darkenColor } from './colorUtils';
