import { ClientSDK, RequestOptions } from "../lib/sdks.js";
import * as operations from "../models/operations/index.js";
import { PageIterator } from "../types/operations.js";
import { ResourcesClasses } from "./resourcesclasses.js";
export declare class Resources extends ClientSDK {
    private _classes?;
    get classes(): ResourcesClasses;
    /**
     * Get all Resources
     *
     * @remarks
     * To get a collection of resources that exist on the service provider.
     */
    getAll(request: operations.GetAllResourcesRequest, options?: RequestOptions): Promise<PageIterator<operations.GetAllResourcesResponse, {
        offset: number;
    }>>;
    /**
     * Create a new Resource
     *
     * @remarks
     * To create a new resource. The responding system must return the set of sourcedIds that have been allocated to the newly created resource record.
     */
    create(request: operations.CreateResourceRequest, options?: RequestOptions): Promise<operations.CreateResourceResponse>;
    /**
     * Get a specific Resource
     *
     * @remarks
     * To get a specific resource by sourcedId. If the corresponding record cannot be located, the api will return a 404 error code and message 'Resource not found.'
     */
    get(request: operations.GetResourceRequest, options?: RequestOptions): Promise<operations.GetResourceResponse>;
    /**
     * Update an existing Resource
     *
     * @remarks
     * To update an existing resource. The sourcedId for the record to be updated is supplied by the requesting system.
     */
    update(request: operations.UpdateResourceRequest, options?: RequestOptions): Promise<{
        [k: string]: any;
    }>;
    /**
     * Delete a resource
     *
     * @remarks
     * Perform a soft delete on a specific resource. This operation changes the status of the resource to 'tobedeleted'.
     */
    delete(request: operations.DeleteResourceRequest, options?: RequestOptions): Promise<void>;
}
//# sourceMappingURL=resources.d.ts.map