import type { IPathLens } from '../../libs/standard-lens'; import type { WithLensInstance, WithPayloadTypes } from './async.builder.types'; import type { AsyncState } from './async.types'; /** * Builds a lens that goes from an async state to its payload. * * @param builder */ export declare function buildPayloadLens(builder: Partial>): IPathLens, IdleType | SuccessType>; /** * Builds a lens that goes from the outer structure to the payload of an async state. * * @param builder */ export declare function buildPayloadLens(builder: Partial> & WithLensInstance): IPathLens;