import { InnerClient } from "./core.js";
import { DocumentCreateParams, FileAttributes, FileCreateParams, Item } from "./types.js";
export interface ItemsFilesApi {
    /**
     * Attach files to Items.
     */
    attach(item: Item, fileParams: FileCreateParams): Promise<Item>;
    /**
     * Read file content from the Item.
     */
    read(vaultId: string, itemId: string, attr: FileAttributes): Promise<Uint8Array>;
    /**
     * Delete a field file from Item using the section and field IDs.
     */
    delete(item: Item, sectionId: string, fieldId: string): Promise<Item>;
    /**
     * Replace the document file within a document item.
     */
    replaceDocument(item: Item, docParams: DocumentCreateParams): Promise<Item>;
}
export declare class ItemsFiles implements ItemsFilesApi {
    #private;
    constructor(inner: InnerClient);
    /**
     * Attach files to Items.
     */
    attach(item: Item, fileParams: FileCreateParams): Promise<Item>;
    /**
     * Read file content from the Item.
     */
    read(vaultId: string, itemId: string, attr: FileAttributes): Promise<Uint8Array>;
    /**
     * Delete a field file from Item using the section and field IDs.
     */
    delete(item: Item, sectionId: string, fieldId: string): Promise<Item>;
    /**
     * Replace the document file within a document item.
     */
    replaceDocument(item: Item, docParams: DocumentCreateParams): Promise<Item>;
}
