import type { Optic, A, B, S, T, TryA, TryT } from './optic.js'; import type { RecordExpected } from './errors.js'; interface AtKeyA extends A { 0: TryA extends Record ? Item : RecordExpected>>; } interface AtKeyT extends T { 0: TryT extends Record ? Record> : RecordExpected>>; } export type AtKey = Optic<'Prism', AtKeyA, AtKeyT, true>; export declare const atKey: (key: string) => AtKey; export {};