import { Blueprint, Schemas } from 'optimal'; export type BlueprintFactory = (schemas: Schemas, onConstruction?: boolean) => Blueprint; export interface Optionable { /** Validated and configured options. */ readonly options: Readonly>; /** * Define an `optimal` blueprint in which to validate and build the * options object passed to the constructor, or when manual setting. */ blueprint: BlueprintFactory; }