/**
 * Determine if a given variable is a `Buffer`.
 *
 */
export declare function isBuffer(obj: any): any;
/**
 * Converts GitHub blob URLs to raw URLs
 */
export declare function normalizeURL(url: string): string;
/**
 * Determine the type of a given variable. Returns `false` if unrecognized.
 *
 */
export declare function getType(obj: any): false | "buffer" | "json" | "string-json" | "string-yaml" | "url" | "path";
/**
 * Determine if a given schema if an OpenAPI definition.
 *
 */
export declare function isOpenAPI(schema: Record<string, unknown>): boolean;
/**
 * Determine if a given schema is a Postman collection.
 *
 * Unfortunately the Postman schema spec doesn't have anything like `openapi` or `swagger` for us
 * to look at but it does require that `info` and `item` be present and as `item` doesn't exist in
 * OpenAPI or Swagger we can use the combination of those two properties to determine if what we
 * have is a Postman collection.
 *
 * @see {@link https://schema.postman.com/json/collection/v2.0.0/collection.json}
 * @see {@link https://schema.postman.com/json/collection/v2.1.0/collection.json}
 */
export declare function isPostman(schema: Record<string, unknown>): boolean;
/**
 * Determine if a given schema if an Swagger definition.
 *
 */
export declare function isSwagger(schema: Record<string, unknown>): boolean;
/**
 * Convert a YAML blob or stringified JSON object into a JSON object.
 *
 */
export declare function stringToJSON(string: string | Record<string, unknown>): any;
/**
 * Determine if a given schema is an API definition that we can support.
 *
 */
export declare function isAPIDefinition(schema: Record<string, unknown>): boolean;
/**
 * Retrieve the type of API definition that a given schema is.
 *
 */
export declare function getAPIDefinitionType(schema: Record<string, unknown>): "openapi" | "postman" | "swagger" | "unknown";
