import { CID } from 'multiformats/cid'; export interface Pinnable { path?: string; cid?: CID; recursive?: boolean; metadata?: any; name?: string; } export type ToPin = CID | string | Pinnable; export type Source = ToPin | Iterable | AsyncIterable; export interface Pin { path: string | CID; recursive: boolean; metadata?: any; name?: string; } /** * Transform one of: * * ```ts * CID * String * { cid: CID recursive, metadata } * { path: String recursive, metadata } * Iterable * Iterable * Iterable<{ cid: CID recursive, metadata }> * Iterable<{ path: String recursive, metadata }> * AsyncIterable * AsyncIterable * AsyncIterable<{ cid: CID recursive, metadata }> * AsyncIterable<{ path: String recursive, metadata }> * ``` * Into: * * ```ts * AsyncIterable<{ path: CID|String, recursive:boolean, metadata }> * ``` */ export declare function normaliseInput(input: Source): AsyncGenerator; //# sourceMappingURL=normalise-input.d.ts.map