import type { WithIdleType, WithLensInstance, WithPayloadTypes, WithSuccessType } from './async.builder.types'; import type { AsyncState, AsyncStatus } from './async.types'; /** * Takes a builder and returns a selector that selects the payload. * * @param builder */ export declare function buildSelectPayload(builder: Partial> & WithLensInstance): (input: OuterStructureType) => IdleType | SuccessType; /** * Takes a builder and returns a selector that selects the payload. * * @param builder */ export declare function buildSelectPayload(builder: WithIdleType & WithSuccessType): (input: AsyncState) => IdleType | SuccessType; /** * Takes a builder and returns a selector that selects the status. * * @param builder */ export declare function buildSelectStatus(builder: Partial> & WithLensInstance): (input: OuterStructureType) => AsyncStatus; /** * Takes a builder and returns a selector that selects the status. * * @param builder */ export declare function buildSelectStatus(builder: Partial>): (input: AsyncState) => AsyncStatus; /** * Takes a builder and returns a selector that selects the failure data if available. * * @param builder * @return */ export declare function buildSelectFailure(builder: Partial> & WithLensInstance): (input: OuterStructureType) => FailureType | undefined; /** * Takes a builder and returns a selector that selects the failure data if available. * * @param builder * @return */ export declare function buildSelectFailure(builder: Partial>): (input: AsyncState) => FailureType | undefined;