Files
lcbp3.np-dms.work/frontend/node_modules/next/dist/build/static-paths/utils.d.ts
2025-09-21 20:29:15 +07:00

16 lines
499 B
TypeScript
Executable File

/**
* Encodes a parameter value using the provided encoder.
*
* @param value - The value to encode.
* @param encoder - The encoder to use.
* @returns The encoded value.
*/
export declare function encodeParam(value: string | string[], encoder: (value: string) => string): string;
/**
* Normalizes a pathname to a consistent format.
*
* @param pathname - The pathname to normalize.
* @returns The normalized pathname.
*/
export declare function normalizePathname(pathname: string): string;