import { Action, type ActionSchema } from './Action.js';
/**
 * Enables modifying an existing resource.
 * Endpoints: PUT or PATCH /[entity-collection-name]/{id}
 */
export interface UpdateActionSchema extends ActionSchema {
    kind: 'update';
    /**
     * The allowed HTTP methods for updates. Default: PATCH only.
     *
     * These two methods represent the two common ways to update a resource:
     * - PUT: Replaces the entire resource with the provided data.
     * - PATCH: Applies a partial update to the resource, allowing for specific fields to be modified.
     */
    allowedMethods: ('PUT' | 'PATCH')[];
}
/**
 * Enables modifying an existing resource.
 * Endpoints: PUT or PATCH /[entity-collection-name]/{id}
 */
export declare class UpdateAction extends Action implements UpdateActionSchema {
    accessor kind: 'update';
    accessor allowedMethods: ('PUT' | 'PATCH')[];
    constructor(state?: Partial<UpdateActionSchema>);
    toJSON(): UpdateActionSchema;
    static isUpdateAction(action: Action): action is UpdateAction;
    static isUpdateActionSchema(schema: ActionSchema): schema is UpdateActionSchema;
}
//# sourceMappingURL=UpdateAction.d.ts.map