export declare const characterOrDigitRegularExpression: RegExp; export declare const uuidOrOidRegularExpression: RegExp; export declare const uuidRegularExpression: RegExp; export declare const UUID_FORMAT: RegExp; export declare const isUri: (input: unknown) => input is T; export declare const getOid: (input: string | Record) => string | number | null; export declare const getType: (input: Record) => any; export declare const getUri: (input: string | Record) => string | null; export declare const getRelativeUri: (input: Record) => string | null; export declare const getRelativeUriFromUriWithVersion: (input: string | null) => string | null; export declare const getObject: (input: Record) => Ref; declare class Ref { oid: string | number | null; type: string | null; relativeUriWithVersion: string; parsedUri: string; version: string; typeDefOid?: number; scopeType?: string; scopeOid?: number; constructor(input: string); /** * Get the type of the record. * * @return {String} type */ getType(): string | null; /** * Get the OID of the record. * * @return {String} oid */ getOid(): string | number | null; getTypeDefOid(): number | null; getScopeType(): string | null; getScopeOid(): number | null; /** * Get the version of the API used. * * @return {String} version */ getVersion(): string; /** * @param {String} version The version of the ref */ setVersion(version: string): void; /** * Get the URI string without domain and webservice prefix, but including version. * @return {String} The URI string without domain and webservice prefix, but including version. */ getRelativeUriWithVersion(): string | null; /** * Get the uri string that was parsed to create this object. * @return {String} The uri string that was parsed to create this object. */ getParsedUri(): string; /** * Get the reference uri relative to the WSAPI endpoint. * * @return {String} The reference uri relative to the WSAPI endpoint. */ getRelativeUri(): string | null; /** * Get the reference uri. * * @return {String} The reference uri. */ getUri(): any; } declare const RefWrapper: { getOid: (input: string | Record) => string | number | null; getType: (input: Record) => any; getUri: (input: string | Record) => string | null; getRelativeUri: (input: Record) => string | null; isUri: (input: unknown) => input is T; getObject: (input: Record) => Ref; }; export default RefWrapper;