import { type StringToBytesErrorType } from '../encoding/toBytes.js'; import type { ErrorType } from '../errors/utils.js'; import type { Bytes } from '../types/data.js'; import { type LabelhashErrorType } from './labelhash.js'; import { type SerializeLabelhashErrorType } from './serializeLabelhash.js'; export type PacketToBytesErrorType = SerializeLabelhashErrorType | LabelhashErrorType | StringToBytesErrorType | ErrorType; export declare function packetToBytes(packet: string): Bytes; //# sourceMappingURL=packetToBytes.d.ts.map