1 | import { KeySpecifier, KeyFieldsFunction, KeyArgsFunction } from "./policies";
|
2 | export declare function keyFieldsFnFromSpecifier(specifier: KeySpecifier): KeyFieldsFunction;
|
3 | export declare function keyArgsFnFromSpecifier(specifier: KeySpecifier): KeyArgsFunction;
|
4 | export declare function collectSpecifierPaths(specifier: KeySpecifier, extractor: (path: string[]) => any): Record<string, any>;
|
5 | export declare function getSpecifierPaths(spec: KeySpecifier): string[][];
|
6 | declare function extractKey<TObj extends Record<string, any>, TKey extends string>(object: TObj, key: TKey): TObj[TKey] | undefined;
|
7 | export declare function extractKeyPath(object: Record<string, any>, path: string[], extract?: typeof extractKey): any;
|
8 | export {};
|
9 |
|
\ | No newline at end of file |