export declare const MCP_SIGNUP_ATTRIBUTION_COOKIE_NAME = "an_mcp_signup"; export declare const MCP_SIGNUP_ATTRIBUTION_TTL_SECONDS: number; export interface McpSignupAttribution { signupOrigin?: "mcp_oauth"; /** Legacy signed-cookie field; interpreted only as an unverified hint. */ vendor?: string; vendorHint?: string; anonymousId?: string; sessionId?: string; firstTouchPathAllowed?: boolean; } export declare function applyMcpSignupAttribution(attribution: Record | undefined, mcpSignup: McpSignupAttribution | null | undefined): Record | undefined; export declare function sanitizeMcpSignupAttribution(value: unknown): McpSignupAttribution | undefined; export declare function encodeMcpSignupAttribution(value: McpSignupAttribution, secret: string, now?: number): string | undefined; export declare function decodeMcpSignupAttribution(token: string | null | undefined, secret: string, now?: number): McpSignupAttribution | null | undefined; export declare function readMcpSignupAttributionFromCookieHeader(cookieHeader: string | null | undefined, secret: string, now?: number): McpSignupAttribution | null | undefined; export declare function hasMcpSignupAttributionCookie(cookieHeader: string | null | undefined): boolean; export declare function readMcpSignupContextFromCookieHeader(cookieHeader: string | null | undefined, secret: string, now?: number): McpSignupAttribution | null | undefined; export declare function filterMcpSignupAttributionByConsent(context: McpSignupAttribution | null | undefined, cookieHeader: string | null | undefined, requestConsent?: { performance?: boolean; targeting?: boolean; }): McpSignupAttribution | null | undefined; export declare function serializeMcpSignupAttributionCookie(attribution: McpSignupAttribution, secret: string, secure: boolean, now?: number): string | undefined;