import { StrictSign, StrictNoSign } from '../index.ts'; import { RPC } from '../message/rpc.js'; import { ValidateError } from '../types.js'; import type { Message } from '../index.ts'; import type { PublishConfig, TopicStr } from '../types.js'; export declare const SignPrefix: Uint8Array; export interface RawMessageAndMessage { raw: RPC.Message; msg: Message; } export declare function buildRawMessage(publishConfig: PublishConfig, topic: TopicStr, originalData: Uint8Array, transformedData: Uint8Array): Promise; export type ValidationResult = { valid: true; message: Message; } | { valid: false; error: ValidateError; }; export declare function validateToRawMessage(signaturePolicy: typeof StrictNoSign | typeof StrictSign, msg: RPC.Message): Promise; //# sourceMappingURL=buildRawMessage.d.ts.map