export type JsonPointer = `/${string}`;
export declare function parseJsonPointer(pointer: string): string[];
export type JsonPointerPath = {
    segments: readonly string[];
    label: string;
    jsonPath: string;
};
/**
 * Decodes a single JSON Pointer segment by unescaping the encoded forward-slash
 * and tilde sequences.
 *
 * @example
 * decodePointerSegment("foo~1bar");
 * // => "foo/bar"
 */
export declare function decodePointerSegment(segment: string): string;
/**
 * Normalizes a JSON pointer string (or plain property name) to its top-level
 * property. Returns the first JSON pointer segment for pointer values or the
 * original property when the input is not a pointer.
 *
 * @example
 * normalizePointerProperty("/value/x-lix-key");
 * // => "value"
 */
export declare function normalizePointerProperty(value: string): string;
/**
 * Applies {@link normalizePointerProperty} to an array of pointer strings or
 * property names, filtering out invalid entries.
 *
 * @example
 * normalizePointerProperties(["/value/x-lix-key", "id"]);
 * // => ["value", "id"]
 */
export declare function normalizePointerProperties(values?: readonly string[] | string[]): string[];
/**
 * Parses an array of JSON pointer strings (or simple property names) into
 * structured path descriptors that include both pointer segments and a JSON
 * path suitable for SQLite's `json_extract`.
 */
export declare function parsePointerPaths(values?: readonly string[] | string[]): JsonPointerPath[];
/**
 * Builds a JSON path string compatible with SQLite's json_extract from pointer
 * segments.
 */
export declare function buildSqliteJsonPath(segments: readonly string[]): string;
/**
 * Extracts a nested value from a JSON-like object/array using pointer segments.
 */
export declare function extractValueAtPath(source: unknown, segments: readonly string[]): any;
//# sourceMappingURL=json-pointer.d.ts.map