/** * Attribute-related functions. Only applies to a single Resource Object. */ /// import { Attributes, ResourceObject } from '../../types'; /** * Return all attributes. * * @param resourceObject */ export declare const attributes: (resourceObject: ResourceObject) => Attributes | undefined; /** * Return a single Attribute value. * * @param attributeName * @param resourceObject */ export declare const attribute: import("Function/Curry").Curry<(attributeName: string, resourceObject: ResourceObject) => any>; /** * Return a single Attribute value, with a default fallback. * * @param attributeName * @param resourceObject */ export declare const attributeOr: import("Function/Curry").Curry<(defaultValue: any, attributeName: string, resourceObject: ResourceObject) => any>; /** * Set the value of an attribute. * * @param value * @param attributeName * @param resourceObject */ export declare const setAttribute: import("Function/Curry").Curry<(attributeName: string, value: any, resourceObject: ResourceObject) => ResourceObject>; /** * Update the attributes of the Resource Object * * @param payload * @param resourceObject */ export declare const updateAttributes: import("Function/Curry").Curry<(payload: Attributes | undefined, resourceObject: ResourceObject) => ResourceObject>;