import { Text } from './Text'; import { TypeGuard } from './TypeGuard'; export type Result = { message: string; location?: string; domain?: string; }; export declare const toResult: (message: Text, location?: Text, domain?: Text) => Result; export declare const isResult: TypeGuard;