export type Result<T> = {
    ok: true;
    value: T;
} | {
    ok: false;
    error: string;
};
export declare function ok<T>(value: T): Result<T>;
export declare function err(error: string): Result<never>;
