import type { Literal, NamedNode, Quad_Object } from "@rdfjs/types"; import type { Thing, Url, UrlString } from "../interfaces"; import type { Time } from "../datatypes"; /** * Create a new Thing with existing values replaced by the given URL for the given Property. * * To preserve existing values, see [[addUrl]]. * * The original `thing` is not modified; this function returns a cloned Thing with updated values. * * @param thing Thing to set a URL value on. * @param property Property for which to set the given URL value. * @param url URL to set on `thing` for the given `property`. * @returns A new Thing equal to the input Thing with existing values replaced by the given value for the given Property. */ export declare const setUrl: SetOfType; /** @hidden Alias of [[setUrl]] for those who prefer IRI terminology. */ export declare const setIri: SetOfType>; /** * Create a new Thing with existing values replaced by the given boolean for the given Property. * * To preserve existing values, see [[addBoolean]]. * * The original `thing` is not modified; this function returns a cloned Thing with updated values. * * @param thing Thing to set a boolean value on. * @param property Property for which to set the given boolean value. * @param value Boolean to set on `thing` for the given `property`. * @returns A new Thing equal to the input Thing with existing values replaced by the given value for the given Property. */ export declare const setBoolean: SetOfType; /** * Create a new Thing with existing values replaced by the given datetime for the given Property. * * To preserve existing values, see [[addDatetime]]. * * The original `thing` is not modified; this function returns a cloned Thing with updated values. * * @param thing Thing to set an datetime value on. * @param property Property for which to set the given datetime value. * @param value Datetime to set on `thing` for the given `property`. * @returns A new Thing equal to the input Thing with existing values replaced by the given value for the given Property. */ export declare const setDatetime: SetOfType; /** * Create a new Thing with existing values replaced by the given date for the given Property. * * To preserve existing values, see [[addDate]]. * * The original `thing` is not modified; this function returns a cloned Thing with updated values. * * @param thing Thing to set an date value on. * @param property Property for which to set the given date value. * @param value Date to set on `thing` for the given `property`. * @returns A new Thing equal to the input Thing with existing values replaced by the given value for the given Property. * @since 1.10.0 */ export declare const setDate: SetOfType; /** * Create a new Thing with existing values replaced by the given time for the given Property. * * To preserve existing values, see [[addTime]]. * * The original `thing` is not modified; this function returns a cloned Thing with updated values. * * @param thing Thing to set an time value on. * @param property Property for which to set the given time value. * @param value time to set on `thing` for the given `property`. * @returns A new Thing equal to the input Thing with existing values replaced by the given value for the given Property. * @since 1.10.0 */ export declare const setTime: SetOfType