import Postmate from "postmate"; export declare type Auth = { kind: "not_authorized"; } | { kind: "authorized"; jwt: string; customerID: string; customerEmail: string; }; export declare function authFromJWT(jwt: string): Auth; export declare function getRemote(url: string): Postmate; declare type SetRemoteAuthResult = "success" | "timeout"; export declare function setRemoteAuth(pm: Postmate, jwt: string, timeout?: number): Promise; export {};