export type IFetchSessionId = {
    url: string;
    token?: string;
    /**
     * Custom fetch function to use instead of global fetch.
     * Useful for proxying requests in environments with CORS restrictions (e.g., VS Code webviews).
     */
    fetchFn?: typeof fetch;
};
/**
 * Fetch the session ID of a collaborative documents from Datalayer.
 */
export declare function requestDatalayerCollaborationSessionId({ url, token, fetchFn, }: IFetchSessionId): Promise<string>;
