import { type ConfirmedAgentProjectContextSwitch } from "../project/context.js"; /** * Read an own data property from untrusted JSON without invoking accessors or * walking the prototype chain. */ export declare function canReadHostedProjectLookupDataProperties(source: unknown, proxyDetectionAvailable?: boolean): source is object; /** Resolver for public project references used by hosted agent tools. */ export type HostedProjectReferenceResolver = (input: { projectReference: string; authToken: string; apiUrl: string; abortSignal?: AbortSignal; }) => Promise<{ projectId: string; slug?: string | null; }>; /** Confirm one resolver result against the exact requested public reference. */ export declare function requireConfirmedHostedProjectReference(resolution: unknown, requestedProjectReference: string): ConfirmedAgentProjectContextSwitch; /** Resolve a public project UUID or slug through the API boundary. */ export declare function resolveHostedProjectReference(input: { projectReference: string; authToken: string; apiUrl: string; abortSignal?: AbortSignal; }): Promise<{ projectId: string; slug?: string | null; }>; //# sourceMappingURL=project-reference-resolver.d.ts.map