export type FetchLike = (input: string, init?: RequestInit) => Promise; /** Studio's published origin: always `localhost` (the cookie's host). */ export declare function studioOrigin(port: number): string; /** * Ask the Studio container for a single-use login token with the admin key * (`POST /_studio/login-tokens`, Studio ยง6) on `origin` (its published port) * and return the URL to open there. * Accepts `{ loginUrl }`, `{ url }` or `{ token }` in the response. */ export declare function mintStudioLogin(input: { fetch: FetchLike; origin: string; adminKey: string; timeoutMs?: number; }): Promise;