import { File } from '../../../../../types/openapi'; /** * Closes the already open file that was opened via api or by the user. * * @example * dsrApi.close() */ export declare function close(): Promise; /** * Fetches a file by ID. * * @example * dsrApi.getFile({ id: 'my-file-id' }) */ export declare function getFile(payload: { id: File['id']; }): Promise; /** * Retrieves the configuration for the calling app. * App name can be optionally provided, otherwise it will be derived from the caller's URL. * * @example * dsrApi.getAppConfig() // for self config * // or with explicit app name * dsrApi.getAppConfig({ app_name: 'my-app' }) */ export declare function getAppConfig(payload?: { app_name?: string; }): Promise>;