smc-hub
Version:
CoCalc: Backend webserver component
15 lines (14 loc) • 444 B
TypeScript
import { ProjectControlFunction } from "smc-hub/servers/project-control";
export declare function invalidateTargetCache(remember_me: string, url: string): void;
interface Options {
remember_me?: string;
url: string;
isPersonal: boolean;
projectControl: ProjectControlFunction;
}
export declare function getTarget(opts: Options): Promise<{
host: string;
port: number;
internal_url: string | undefined;
}>;
export {};