import { DataSDK, SDKOptions } from '@salesforce/sdk-core'; import { MosaicDataSDKOptions } from './mosaic'; export type StatusCallback = () => Promise | void; /** * Options for creating a WebAppDataSDK */ export interface WebAppDataSDKOptions { basePath?: string; onStatus?: Partial>; } export type { MosaicDataSDKOptions }; /** * Options for creating a DataSDK instance. */ export interface DataSDKOptions extends SDKOptions { webapp?: WebAppDataSDKOptions; mosaic?: MosaicDataSDKOptions; } /** * Create and initialize a DataSDK instance based on the detected surface. * Each call creates a new instance; options are applied to every call. * * @param options - Optional configuration including surface override and web app options * @returns Promise resolving to an initialized DataSDK instance */ export declare function createDataSDK(options?: DataSDKOptions): Promise; export { gql } from './gql'; export type { DataSDK, GraphQLRequest, GraphQLResponse, SDKOptions } from '@salesforce/sdk-core'; export type NodeOfConnection = T extends { edges?: (infer E)[] | null; } | null ? E extends { node?: infer N; } | null ? N : never : never; //# sourceMappingURL=index.d.ts.map