mindee
Version:
Mindee Client Library for Node.js
23 lines (22 loc) • 827 B
TypeScript
import { Prediction, StringDict } from "../../../parsing/common";
import { UsMailV2SenderAddress } from "./usMailV2SenderAddress";
import { UsMailV2RecipientAddress } from "./usMailV2RecipientAddress";
import { StringField } from "../../../parsing/standard";
/**
* US Mail API version 2.0 document data.
*/
export declare class UsMailV2Document implements Prediction {
/** The addresses of the recipients. */
recipientAddresses: UsMailV2RecipientAddress[];
/** The names of the recipients. */
recipientNames: StringField[];
/** The address of the sender. */
senderAddress: UsMailV2SenderAddress;
/** The name of the sender. */
senderName: StringField;
constructor(rawPrediction: StringDict, pageId?: number);
/**
* Default string representation.
*/
toString(): string;
}