import { APIResource } from "../../core/resource.mjs";
import * as DocumentsAPI from "./documents.mjs";
import { APIPromise } from "../../core/api-promise.mjs";
import { type Uploadable } from "../../core/uploads.mjs";
import { RequestOptions } from "../../internal/request-options.mjs";
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.mts.map