type Status = 'idle' | 'loading' | 'loaded' | 'error';
type AuthenticatedImageOptions = {
    /**
     * When true (default), aborts the in-flight request when the component unmounts.
     * Useful to avoid keeping stale fetches around in fast navigation scenarios.
     */
    abortOnUnmount?: boolean;
    /**
     * Optional bearer token for cross-origin authenticated requests.
     * When provided, adds Authorization header to the fetch request.
     */
    bearerToken?: string | null;
};
type AuthenticatedImageState = {
    url: string | null;
    status: Status;
    error: Error | null;
};
export declare function useAuthenticatedImageSrc(src: string | null | undefined, { abortOnUnmount, bearerToken }?: AuthenticatedImageOptions): AuthenticatedImageState;
export {};
