type CreateElasticubeProps = { title: string; }; type GetCSVSchemaDetailsProps = { filePath: string; fileName: string; }; type GetCSVSchemaDetailsResponse = { connection: { ApiVersion: number; files: string[]; delimiter: string; hasHeader: boolean; ignoreMissingColumns: boolean; excludeIfBegins: string; excludeIfContains: string; stringQuote: string; ignoreFirstRows: string; culture: string; columnsDateTimePatterns: string; }; schema: string; table: string; }; type GetPerspectiveOidProps = { elasticubeOid: string; }; type PerspectiveResponse = { lastUpdated: string; title: string; server: string; datasets: any[]; oid: string; 'modeling-transformations': any[]; relations: any[]; shares: Array<{ partyId: string; type: string; permission: string; }>; type: string; relationType: string; experiments: Record; fiscal: string; _id: string; analyticalEngine: Record; buildDestination: { destination: string; }; creator: string; hasDatasetsWithoutConnectionParameters: boolean | null; modelStatistics: { enableModelStatistics: boolean; allTablesPerCollection: boolean; maxTablesPerCollection: number; }; tenantId: string; relationsTables: any[]; datamodelId: string; }; type GetPerspectiveOidResponse = { perspectives: PerspectiveResponse[]; revisions: any[]; }; type AddDataSetProps = { elasticubeOid: string; filePath: string; fileName: string; table: any; perspectiveOid: string; }; type AddDataSetResponse = { dataSet: { oid: string; }; columns: any[]; tableOid: string; }; type BuildElasticubeProps = { elasticubeOid: string; }; type BuildElasticubeResponse = { buildElasticube: { oid: string; }; }; export type BuildStatus = 'building' | 'pending' | 'done' | 'failed' | 'cancelled'; export type BuildStatusResponse = { oid: string; datamodelId: string; buildType: string; status: BuildStatus; datamodelTitle: string; datamodelType: string; indexSize: number; instanceId: string; schemaLastUpdate: string; created: string; started: string; completed: string; rowLimit: number; source: string; }; type AddRelationProps = { elasticubeOid: string; source: any; target: any; }; type AddRelationResponse = { relation: { oid: string; }; }; export type GetElasticubesResponse = { data: { elasticubesMetadata: Array<{ oid: string; title: string; server: string; tenant: { _id: string; name: string; systemManagement: boolean; __typename: string; }; fiscal: string; serverId: string; hasDatasets: boolean; type: string; relationType: string; provider: string; importTime: string; hasDatasetsWithoutConnectionParameters: boolean; datasets: Array<{ oid: string; database: string; schemaName: string; connection: { id: string; __typename: string; }; __typename: string; }>; set: { title: string; __typename: string; }; status: string; lastBuildTime: string; lastBuildStatus: string; lastSuccessfulBuildStartTime: string; lastSuccessfulManualBuildStartTime: string; lastSuccessfulBuildTime: string; lastPublishTime: string; lastUpdated: string; hasPendingChanges: boolean; nextBuildTime: string; creator: { id: string; firstName: string; lastName: string; __typename: string; }; sizeInMb: number; shares: Array<{ partyId: string; type: string; permission: string; firstName?: string; lastName?: string; email?: string; name?: string; ad?: boolean; objectSid?: string; everyone?: boolean; tenantEveryone?: boolean; admins?: boolean; __typename: string; }>; buildDestination: { destination: string; database: string; schema: string; resultLimit: number; queryTimeout: number; __typename: string; }; modelStatistics: { enableModelStatistics: boolean; allTablesPerCollection: boolean; maxTablesPerCollection: number; __typename: string; }; experiments: Array<{ __typename: string; }>; acceleration: { parentModelOid: string; __typename: string; }; analyticalEngine: { queryAeMode: string; customTranslationMode: string; generateDependenciesMode: string; __typename: string; }; __typename: string; }>; }; }; type GetElasticubeProps = { cubeOid: string; }; export type GetElasticubeResponse = { elasticube: { oid: string; title: string; server: string; tenant: { _id: string; name: string; systemManagement: boolean; }; fiscal: string; type: string; relationType: string; enableDimensionalModeling: boolean; lastSuccessfulManualBuildStartTime: string; lastBuildTime: string; lastPublishTime: string; hasDatasetsWithoutConnectionParameters: boolean; datasets: { oid: string; name: string; database: string; schemaName: string; lastUpdated: string; type: string; liveQuerySettings: { timeout: number; autoRefresh: boolean; refreshRate: number; resultLimit: number; __typename: string; }; connection: { id: string; oid: string; provider: string; schema: string; fileName: string; parameters: string; protectedParameters: string; globalTableConfigOptions: string; __typename: string; }; schema: { tables: { oid: string; id: string; name: string; role: string; isRoleBySystem: boolean; description: string; type: string; tags: string[]; hidden: boolean; lastUpdated: string; configOptions: string; schemaName: string; isMaterialized: boolean; buildBehavior: { type: string; accumulativeConfig: { type: string; column: string; lastDays: number; keepOnlyDays: number; __typename: string; }; __typename: string; }; columns: { oid: string; id: string; name: string; role: string; isRoleBySystem: boolean; description: string; type: string; size: number; precision: number; scale: number; hidden: boolean; indexed: boolean; isUpsertBy: boolean; __typename: string; }; expression: { oid: string; lastUpdated: string; expression: string; isDatabaseDialect: boolean; __typename: string; }; customCode: { noteBookId: string; dependsOn: string[]; additionalParameters: string; codePath: string; cellsDisable: boolean; language: string; mode: string; serverUrl: string; timeout: number; __typename: string; }; tupleTransformations: { type: string; arguments: string[]; __typename: string; }; __typename: string; }; __typename: string; }; __typename: string; }; relationsTables: { firstTable: string; secondTable: string; directionType: string; condition: string; __typename: string; }; relations: { oid: string; columns: { dataset: string; table: string; column: string; isDropped: boolean; __typename: string; }[]; __typename: string; }; experiments: { __typename: string; }[]; buildDestination: { destination: string; database: string; schema: string; __typename: string; }; modelStatistics: { enableModelStatistics: boolean; allTablesPerCollection: boolean; maxTablesPerCollection: number; recollectStatsInterval: number; __typename: string; }; __typename: string; }; }; type DeleteElasticubeProps = { oid: string; replacementDataSource?: { type: string; oid: string; }; }; type UploadCSVResponse = Array<{ filename: string; extension: string; size: number; type: string; storageInfo: { path: string; }; uploader: string; source: string; createdAt: string; tenantId: string; _id: string; }>; export declare function createElasticube({ title }: CreateElasticubeProps): Promise<{ oid: string; } | undefined>; export declare function getCSVSchemaDetails({ filePath, fileName, }: GetCSVSchemaDetailsProps): Promise; export declare function getPerspectiveOid({ elasticubeOid, }: GetPerspectiveOidProps): Promise; export declare function addDataSet({ elasticubeOid, filePath, fileName, table, perspectiveOid, }: AddDataSetProps): Promise<{ dataSet: AddDataSetResponse | undefined; columns: any; tableOid: string; }>; export declare function buildElasticube({ elasticubeOid, }: BuildElasticubeProps): Promise; export declare function buildStatus(): Promise; export declare function addRelation({ elasticubeOid, source, target, }: AddRelationProps): Promise; export declare function getElasticubes(): Promise<{ oid: string; title: string; server: string; tenant: { _id: string; name: string; systemManagement: boolean; __typename: string; }; fiscal: string; serverId: string; hasDatasets: boolean; type: string; relationType: string; provider: string; importTime: string; hasDatasetsWithoutConnectionParameters: boolean; datasets: Array<{ oid: string; database: string; schemaName: string; connection: { id: string; __typename: string; }; __typename: string; }>; set: { title: string; __typename: string; }; status: string; lastBuildTime: string; lastBuildStatus: string; lastSuccessfulBuildStartTime: string; lastSuccessfulManualBuildStartTime: string; lastSuccessfulBuildTime: string; lastPublishTime: string; lastUpdated: string; hasPendingChanges: boolean; nextBuildTime: string; creator: { id: string; firstName: string; lastName: string; __typename: string; }; sizeInMb: number; shares: Array<{ partyId: string; type: string; permission: string; firstName?: string; lastName?: string; email?: string; name?: string; ad?: boolean; objectSid?: string; everyone?: boolean; tenantEveryone?: boolean; admins?: boolean; __typename: string; }>; buildDestination: { destination: string; database: string; schema: string; resultLimit: number; queryTimeout: number; __typename: string; }; modelStatistics: { enableModelStatistics: boolean; allTablesPerCollection: boolean; maxTablesPerCollection: number; __typename: string; }; experiments: Array<{ __typename: string; }>; acceleration: { parentModelOid: string; __typename: string; }; analyticalEngine: { queryAeMode: string; customTranslationMode: string; generateDependenciesMode: string; __typename: string; }; __typename: string; }[]>; export declare function getElasticube({ cubeOid, }: GetElasticubeProps): Promise; export declare function deleteElasticube({ oid, replacementDataSource, }: DeleteElasticubeProps): Promise; export declare function uploadCSVMultipart(fileName: string, csvContent: string): Promise; export {}; //# sourceMappingURL=ecm-service.d.ts.map