import type { ValuesType } from '../../../strk-types/helpers.js'; export declare const CairoResultVariant: { readonly Ok: 0; readonly Err: 1; }; export type CairoResultVariant = ValuesType; export declare class CairoResult { readonly Ok?: T | undefined; readonly Err?: U | undefined; constructor(variant: CairoResultVariant | number, resultContent: T | U); /** * * @returns the content of the valid variant of a Cairo Result. */ unwrap(): T | U; /** * * @returns true if the valid variant is 'Ok'. */ isOk(): boolean; /** * * @returns true if the valid variant is 'isErr'. */ isErr(): boolean; } //# sourceMappingURL=CairoResult.d.ts.map