import { Inputs, VisitorIdLocator } from './models'; /** * Decides between using the default visitor id, which is in the form of an * OEUID, and a custom provided visitor id. * * @param {Object} webManifest * @param {Object} inputs * @return {string} */ export declare function getVisitorId(visitorIdLocator: VisitorIdLocator, inputs: Inputs, logger: any): string; /** * Construct a cookie string to set the OptimizelyEndUserId in the microsnippet * The tracking snippet MAY set the cookie on a more specific domain, but that's ok * TODO: maybe integrate with the function getVisitorOUIdCookie * @param {String} visitorId * @param {String} cookieDomain * @param {Number} cookieExpirationDays * @param {Boolean} [secureCrossSiteCookies false] * @return {String} The microsnippet will write to document.cookie. */ export declare function getVisitorIdCookieString(visitorId: string, cookieDomain?: string, cookieExpirationDays?: number, secureCrossSiteCookies?: boolean, logger?: any): string; /** * Validates the edge locator object * returns false if the locator could not be get on the edge * * @param locator * @returns */ export declare function isValidEdgeLocator(locator: VisitorIdLocator): boolean; /** * Determines whether the OEU cookie should be set. * @param inputs * @returns */ export declare function canSetOEUCookie(inputs: Inputs): boolean; declare const _default: { getVisitorId: typeof getVisitorId; getVisitorIdCookieString: typeof getVisitorIdCookieString; isValidEdgeLocator: typeof isValidEdgeLocator; canSetOEUCookie: typeof canSetOEUCookie; }; export default _default;