import type { SignedFetchRequest } from '~system/SignedFetch'; import type { PBRealmInfo } from '~system/Runtime'; type Opts = { toCamelCase?: boolean; }; export declare function wrapSignedFetch(signedFetchBody: SignedFetchRequest, opts?: Opts): Promise>; export type Success = [null, T]; export type Failure = [E, null]; export type Result = Success | Failure; export declare function tryCatch(promise: Promise): Promise>; export declare function getRealm(): Promise; export declare function isPreview(): boolean; export declare function getDomain(realm?: PBRealmInfo | undefined): "org" | "zone"; export declare function serviceUrl(service: string, path: string, realm?: PBRealmInfo | undefined): string; export {};