import type { Optic, A, B, S, T, TryA, TryT } from './optic.js'; import type { InvalidPick } from './errors.js'; import type { Unnaked } from '../utils.js'; interface PickA extends A { 0: TryA extends keyof S ? Pick, Unnaked> : InvalidPick>>; } interface PickT extends T { 0: TryT, K> & { [KK in keyof B]: B[KK]; }>; } export declare function pick(): Optic<'Lens', PickA, PickT>; export declare function pick(...keys: K[]): Optic<'Lens', PickA, PickT>; export {};