export type ClozeContactPayload = { /** * Unique identifier for a person record or company. * * Cloze documents email addresses, phone numbers, domains, social handles such as `twitter:cloze`, * and third-party app IDs such as `lead.salesforce.com:9425897598`. */ identifier: string; }; export type ClozeCallbackPayload = ClozeContactPayload & { /** * URL Cloze opens as a back button after showing the profile full-screen. */ xSuccess?: string; }; export type ClozeWebContactPayload = (ClozeContactPayload & { /** * Cloze's documented hash URL form. */ syntax?: 'hash'; /** * Show the profile filling the entire page. */ full?: false; back?: never; }) | (ClozeContactPayload & { syntax?: 'hash'; /** * Show the profile filling the entire page. */ full: true; /** * URL used by the back button on a full-screen profile. */ back?: string; }) | (ClozeContactPayload & { /** * Cloze's documented `/in/contact/` web URL example form. */ syntax: 'path'; full?: never; back?: never; }); export declare function clozeContactUrl(path: 'contact', payload: ClozeContactPayload): string; export declare function clozeContactUrl(path: 'x-callback-url/contact', payload: ClozeCallbackPayload): string; export declare function clozeWebContactUrl(payload: ClozeWebContactPayload): string;