import { DagJWS, EncodedJWS } from './signing';
export type { DagJWS } from './signing';
import { DagJWE, EncodedJWE } from './encryption';
export type { DagJWE } from './encryption';
import type { ByteView } from 'multiformats/codecs/interface';
export declare const name = "dag-jose";
export declare const code = 133;
export declare function toGeneral(jose: DagJWS | DagJWE | string): DagJWS | DagJWE;
export declare function encode(obj: DagJWS | DagJWE | string): ByteView<EncodedJWS | EncodedJWE>;
export declare function decode(data: ByteView<EncodedJWS | EncodedJWE>): DagJWS | DagJWE;
