interface Feature { title?: string; subtitle?: string; message?: string; link?: Link; spaceID?: string; } interface Link { text?: string; url?: string; target?: string; } interface Rewrite { from?: string; to?: string; } interface MetaPair { name: string; value: string; } interface DisclaimerTextField { required?: boolean; label?: string; valueKey: string; } interface Disclaimer { description?: string; organization?: boolean; provider?: boolean; providerType?: boolean; textField: DisclaimerTextField; } interface Permission { id?: string; string?: string; } interface Resource { id?: string; string?: string; } interface Colors { billboardBackground?: string; primary?: string; secondary?: string; responsiveColor?: string; } interface Parameters { factKey: string; } interface UserLookup { fn?: string; attributeName?: string; parameters?: Parameters; } interface Space { id: string; configurationId?: string; type?: string; activeDate?: string; isNew?: boolean; inactiveDate?: string; createDate?: string; updateDate?: string; tenant?: string; authorized?: boolean; parentIDs?: string[]; childIDs?: string[]; payerIDs?: string[]; name: string; shortName?: string; description: string; permissions?: Permission[]; resources?: Resource[]; meta: object; metaPairs: MetaPair[]; regions?: string[]; keywords?: string[]; mod: string[]; link: Link; ssoId: string; parents?: Space[]; children?: Space[]; categories?: string[]; categorized?: boolean; icons?: object; images?: object; query?: string; variables?: string; spUrl?: string; mapping?: object; disclaimer?: Disclaimer; colors?: Colors; termsOfUse?: Space; feature?: Feature; brandCode?: string; path?: string; request?: string; response?: string; rewrite?: Rewrite; transactionCode?: string; url?: string; relayState?: string; transUser?: string; createUser?: boolean; userLookup?: UserLookup; nonPayer?: boolean; allowedOrgs?: string[]; } interface SpacesContext { spaces?: Space[]; loading: boolean; error?: string; } interface SpacesProps { clientId: string; query?: string; children?: React.ReactNode | ((spacesContext: SpacesContext) => React.ReactNode); variables?: Record; spaceIds?: string[]; payerIds?: string[]; spaces?: Space[]; operationName?: string; } declare function useSpaces(...ids: (string | undefined | null)[]): Space[]; declare function useSpacesContext(): SpacesContext; declare const Spaces: React.FC; type SkeletonType = { width?: string | number; height?: string | number; }; interface SpacesImageProps { spaceId?: string; payerId?: string; imageType: string; skeletonProps?: SkeletonType; } declare const SpacesImage: React.FC; interface SpacesDisclaimerProps { spaceId?: string; styled?: boolean; markdown?: boolean; } declare const SpacesDisclaimer: React.FC; interface SpacesAgreementProps { spaceId?: string; markdown?: boolean; } declare const SpacesAgreement: React.FC; interface SpacesGhostTextProps { spaceId?: string; } declare const SpacesGhostText: React.FC; // eslint-disable-next-line import/prefer-default-export declare function normalizeSpaces(spaces: object[]): object[]; declare const updateTopApps: ( space: { configurationId?: string | null; type?: string | null }, akaname: string ) => Promise; declare function openLink( space: Space, settings: { akaname: string; payerSpaceId: string; } ): Promise; declare function openLinkWithSso( space: Space, settings: { akaname: string; clientId: string; payerSpaceId: string; ssoParams?: Record; } ): Promise; export { type Link, type Space, SpacesAgreement, SpacesImage as SpacesBillboard, type SpacesContext, SpacesDisclaimer, SpacesGhostText, SpacesImage, SpacesImage as SpacesLogo, SpacesImage as SpacesTile, Spaces as default, normalizeSpaces, openLink, openLinkWithSso, updateTopApps, useSpaces, useSpacesContext };