import { APIResource } from "../../core/resource.js";
import * as DocumentsAPI from "./documents.js";
import { APIPromise } from "../../core/api-promise.js";
import { type Uploadable } from "../../core/uploads.js";
import { RequestOptions } from "../../internal/request-options.js";
export declare class Ubl extends APIResource {
    /**
     * Create a new invoice or credit note from a UBL file
     */
    createFromUbl(body: UblCreateFromUblParams, options?: RequestOptions): APIPromise<DocumentsAPI.DocumentResponse>;
    /**
     * Get the UBL for an invoice or credit note
     */
    get(documentID: string, options?: RequestOptions): APIPromise<UblGetResponse>;
}
export interface UblGetResponse {
    id: string;
    file_name: string;
    file_hash?: string | null;
    file_size?: number;
    receiver_peppol_id?: string | null;
    receiver_peppol_scheme?: string | null;
    sender_peppol_id?: string | null;
    sender_peppol_scheme?: string | null;
    signed_url?: string | null;
    validated_at?: string | null;
}
export interface UblCreateFromUblParams {
    file: Uploadable;
}
export declare namespace Ubl {
    export { type UblGetResponse as UblGetResponse, type UblCreateFromUblParams as UblCreateFromUblParams };
}
//# sourceMappingURL=ubl.d.ts.map