export type ExtractPathReturnType = { id: number | undefined; path: string; }; /** * Parse a request url into an object containing the id and path. * * @param request The request url. * @returns The parsed request context or undefined. */ export declare function extractPath(request: string): ExtractPathReturnType; /** * Strips ANSI color codes from a string. * * @param message The string to strip. * @returns The stripped string. */ export declare function stripColors(message: string): string; /** * Converts an object of options to an array of command line arguments. * * @param options The options object. * @returns The command line arguments. */ export declare function toArgs(obj: Record, options?: { arraySeparator?: string | null | undefined; casing?: 'kebab' | 'snake' | undefined; }): string[]; /** Converts to a --flag-case string. */ export declare function toFlagCase(str: string, separator?: string): string; export declare function deepAssign(target: Record, ...sources: Record[]): Record; //# sourceMappingURL=utils.d.ts.map