import { Ref } from "../ref/Ref";
import type { IdentityType } from "./schemas";
import { TypeInfo } from "./TypeChecker";
/**
 * A type that represents a reference to an object or model.
 *
 * Example:
 * ```ts
 * const refToSomeObject = types.ref<SomeObject>()
 * ```
 *
 * @typeparam O Object or model type.
 * @returns
 */
export declare function typesRef<O extends object>(): IdentityType<Ref<O>>;
/**
 * `types.ref` type info.
 */
export declare class RefTypeInfo extends TypeInfo {
}
