import type { IId, NId, PId, Relationship } from "@raytio/types"; /** This type represents the relationship format returned by the Postgres API */ export type ServerRelationship = Omit & { id: PId; from_id: NId; to_id?: NId | null; to_i_id?: IId | null; }; /** * Converts relationship type used by the server into the (Urn format) type used by the client * @param serverRelationship relationship type used in the server * @returns a Relationship (client-side type) that is equivalent to the inputted serverRelationship value */ export declare function convertServerRelationship(serverRelationship: ServerRelationship): Relationship;