import type { ChainModifiers } from '../types/client.js'; export type ChainOption = { withoutLinkResolution: ChainModifiers extends Modifiers ? boolean : 'WITHOUT_LINK_RESOLUTION' extends Modifiers ? true : false; withAllLocales: ChainModifiers extends Modifiers ? boolean : 'WITH_ALL_LOCALES' extends Modifiers ? true : false; withoutUnresolvableLinks: ChainModifiers extends Modifiers ? boolean : 'WITHOUT_UNRESOLVABLE_LINKS' extends Modifiers ? true : false; }; export type DefaultChainOption = ChainOption; export type ChainOptions = ChainOption; export type ModifiersFromOptions = Options extends ChainOption ? Modifiers : never;