import { type InjectionKey, type Ref } from 'vue';
export declare const ASSET_PROXY_KEY: InjectionKey<Ref<string | undefined>>;
export declare const SAFE_HOSTS: string[];
/**
 * Rewrite an asset URL through the given proxy template. No-op when no template
 * is given, for non-http(s) URLs (data:, blob:, relative), for URLs already
 * pointing at the proxy, or for URLs already on an EU-resident SAFE_HOST.
 */
export declare function resolveAssetUrl(url: string, assetProxyTemplate?: string): string;
/**
 * Composable for field components: returns a `proxy(url)` helper that rewrites a
 * URL through the injected asset proxy (no-op when none is provided). Reactive —
 * call it inside a template or computed and it re-evaluates if the proxy changes.
 * Must be called in setup().
 */
export declare function useAssetProxy(): (url: string) => string;
