import { Signer } from './signer.ts'; import { Cigar } from './cigar.ts'; import { Siger } from './siger.ts'; export declare const HEADER_SIG_INPUT: string; export declare const HEADER_SIG_TIME: string; export declare function normalize(header: string): string; export interface SiginputArgs { name: string; method: string; path: string; headers: Headers; fields: Array; expires?: number; nonce?: string; alg?: string; keyid?: string; context?: string; } /** * Generates, serializes, and signs a Signature-Input HTTP header value as a structured header * @param signer * @param sigInputArgs */ export declare function siginput(signer: Signer, sigInputArgs: SiginputArgs): [Map, Siger | Cigar]; export declare class Unqualified { private readonly _raw; constructor(raw: Uint8Array); get qb64(): string; get qb64b(): Uint8Array; } export declare class Inputage { name: any; fields: any; created: any; expires: any; nonce: any; alg: any; keyid: any; context: any; } export declare function desiginput(value: string): Array; /** Parse start, end and total from HTTP Content-Range header value * @param {string|null} header - HTTP Range header value * @param {string} typ - type of range, e.g. "aids" * @returns {start: number, end: number, total: number} - object with start, end and total properties */ export declare function parseRangeHeaders(header: string | null, typ: string): { start: number; end: number; total: number; };