import { Connection, OrgAuthorization } from '@salesforce/core'; export type OrgShapeListResult = { orgId: string; username: string; alias?: string; shapeId: string; status: string; createdBy: string; createdDate: string; }; export type JsForceError = { errorCode: string; fields: string[]; } & Error; export declare function getAllShapesFromOrg(orgAuth: OrgAuthorization): Promise; /** * Check if the ShapeExportPilot preference is enabled. */ export declare function isShapeEnabled(conn: Connection): Promise; export declare const getAllOrgShapesFromAuthenticatedOrgs: () => Promise<{ orgShapes: OrgShapeListResult[]; errors: Error[]; }>; declare const _default: { getAllOrgShapesFromAuthenticatedOrgs: () => Promise<{ orgShapes: OrgShapeListResult[]; errors: Error[]; }>; isShapeEnabled: typeof isShapeEnabled; getAllShapesFromOrg: typeof getAllShapesFromOrg; }; export default _default;