/// import { Inputs } from '../../models'; /** * @typedef {Object} ParsedInputData * @property {boolean} requestType The RequestType (editor, preview, or just standard) for this worker request. * @property {Object} cookies The visitor's cookies (via request header) * @property {URLSearchParams} queryParams The query params of the page the visitor is requesting (via parent page querystring) * @property {string} userAgent The user agent of the visitor (via request headers) * @property {string} uid The userId of the visitor if one has already been assigned (via request querystring or request headers) * @property {string} url The url of the page the visitor is requesting */ /** * Given an incoming worker request, parse its query string and headers for * relevant input data to our decider. * * @param {Request} request * @return {ParsedInputData} */ export declare function getInputData(request: Request, logger: any): Inputs; export declare function shouldUseSecureCrossSiteCookies(defines: any): boolean; declare const _default: { getInputData: typeof getInputData; shouldUseSecureCrossSiteCookies: typeof shouldUseSecureCrossSiteCookies; }; export default _default;