import type { Option } from './option.js'; type Expect = { (msg: string): (option: Opt) => Opt extends Option ? T : never; (msg: string, option: Opt): Opt extends Option ? T : never; }; /** * Unwraps an `Option` value, returning the underlying value if it is `Some`. If the value is `None`, this function * panics with the provided error message. * * @tags option, unwrap, unsafe, right-biased */ export declare const expect: Expect; export {};