import type { Plugin } from '@/core/plugin';
interface PageDefault {
    path: string;
    referrer: string;
    search: string;
    title: string;
    url: string;
}
/**
 * Return the canonical URL for the page concat the given `search`
 * and strip the hash.
 */
export declare function canonicalUrl(search?: string): string;
/**
 * Return a default `options.context.page` object.
 *
 * https://segment.com/docs/spec/page/#properties
 */
export declare function pageDefaults(): PageDefault;
export declare const pageEnrichment: Plugin;
export {};
