import type { BuildAssetKind } from "./build-cache.js";
export interface AssetReferenceCandidate {
    kind: BuildAssetKind;
    raw: string;
    relPath?: string;
    absPath?: string;
    ext: string;
    exists: boolean;
    withinProject: boolean;
    source: "typed" | "asset";
    error?: string;
}
export declare function resolveTypedAssetReference(projectDir: string, kind: BuildAssetKind, value: unknown): AssetReferenceCandidate | null;
export declare function resolveGenericAssetReference(projectDir: string, value: unknown): AssetReferenceCandidate | null;
export declare function isReadyAssetReference(reference: AssetReferenceCandidate | null | undefined): reference is AssetReferenceCandidate & {
    relPath: string;
    absPath: string;
};
