import { Dereferenced, ExtensionKey, PathReference, Refable } from "./common"; /** * Returns true if the key starts with `x-` */ export declare function isExtensionKey(key: string | ExtensionKey): key is ExtensionKey; /** * Only return properties starting with x- * @param dictionary */ export declare function includeXDashKeys>(dictionary: T): Extract[]; /** * Only return properties NOT starting with x- * @param dictionary */ export declare function omitXDashKeys(dictionary: T): Exclude[]; export declare function includeXDashProperties | undefined>(obj: T): T extends undefined ? undefined : Pick>; export declare function omitXDashProperties(obj: T): T extends undefined ? undefined : Pick>; /** * Identifies if a given refable is a reference or an instance * @param item Check if item is a reference. */ export declare function isReference(item: Refable): item is PathReference; /** * Gets an object instance for the item, regardless if it's a reference or not. * @param document Entire document. * @param item Reference item. * @param stack Stack for circular dependencies. */ export declare function dereference(document: any, item: Refable, stack?: string[]): Dereferenced; //# sourceMappingURL=utils.d.ts.map