import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Headers add structured information to a record as name-value pairs.
 */
export type Header = {
    /**
     * Header name blob.
     *
     * @remarks
     * The name cannot be empty, with the exception of an S2 command record.
     */
    name: string;
    /**
     * Header value blob.
     */
    value: string;
};
/** @internal */
export declare const Header$inboundSchema: z.ZodType<Header, z.ZodTypeDef, unknown>;
/** @internal */
export type Header$Outbound = {
    name: string;
    value: string;
};
/** @internal */
export declare const Header$outboundSchema: z.ZodType<Header$Outbound, z.ZodTypeDef, Header>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Header$ {
    /** @deprecated use `Header$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Header, z.ZodTypeDef, unknown>;
    /** @deprecated use `Header$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Header$Outbound, z.ZodTypeDef, Header>;
    /** @deprecated use `Header$Outbound` instead. */
    type Outbound = Header$Outbound;
}
export declare function headerToJSON(header: Header): string;
export declare function headerFromJSON(jsonString: string): SafeParseResult<Header, SDKValidationError>;
//# sourceMappingURL=header.d.ts.map