/** * Sets the preview token on the given URL as a query parameter, replacing one it * already carries. If the URL or the preview token is empty, the original URL is returned. * * @param url - The original URL. * @param previewToken - The preview token to set. * @returns The URL with the preview token as a query parameter. */ export declare const withPreviewToken: (url: string, previewToken?: string) => string;