import { SendThpMessageProps } from './send';
export declare const callThpMessage: ({ thpState, chunks, apiWrite, apiRead, signal, logger, }: SendThpMessageProps) => Promise<{
    success: false;
    error: "Unable to open device" | "A transfer error has occurred." | "device not found" | "device disconnected during action" | "unexpected error" | "Aborted by signal" | "Aborted by timeout";
    message?: string;
} | import("../types").Success<{
    messageType: string | number;
    payload: Buffer<ArrayBuffer>;
    header: Buffer<ArrayBufferLike>;
    length: number;
}> | {
    success: false;
    error: any;
    message: string | undefined;
}>;
//# sourceMappingURL=call.d.ts.map