import type { ValuesType } from '../../../strk-types/helpers.js'; export declare const CairoOptionVariant: { readonly Some: 0; readonly None: 1; }; export type CairoOptionVariant = ValuesType; export declare class CairoOption { readonly Some?: T | undefined; readonly None?: boolean | undefined; constructor(variant: CairoOptionVariant | number, content?: T); /** * * @returns the content of the valid variant of a Cairo custom Enum. * If None, returns 'undefined'. */ unwrap(): T | undefined; /** * * @returns true if the valid variant is 'isSome'. */ isSome(): boolean; /** * * @returns true if the valid variant is 'isNone'. */ isNone(): boolean; } //# sourceMappingURL=CairoOption.d.ts.map