import { Campaign } from '../../db/schemas/campaigns-config-schema'; import { SectionSchema } from './../../sections'; import { GlobalConfig } from './global-config.types'; import { MixedSection, PageConfig, Section } from './page-config.types'; import { DefaultThemeSettings, ThemeSettingsConfig } from './theme-settings.types'; export * from './global-config.types'; export * from './page-config.types'; export * from './theme-settings.types'; export interface NodeAddress { areaName: string; sectionId?: string; itemIdChain?: string[]; elementIdChain?: string[]; } export interface FooterNodeAddress { sectionId: string; itemIdChain?: string[]; elementId?: string; } export interface SelectedSection { address: NodeAddress; section: Section; } export type ConfigState = { globalConfig: GlobalConfig; pageConfig: PageConfig; campaignsConfig: { agencyId: number | null; sharedWith?: number[]; campaigns: { [id: string]: Campaign; }; }; themeSettings: ThemeSettingsConfig; selection: { address: NodeAddress; } | null; footerSelection?: FooterNodeAddress; selectedSearchForm: string | null; freezeReorder: boolean; previewMode: boolean; unsavedChanges: boolean; sectionSchemas: { [key: string]: SectionSchema; }; sitePath: string | null; }; export interface SharingPermissionProps { id: number; permissionLevel: string; sharingAgencyId: number; receivingAgencyId: number; shareContent: boolean; shareProperties: boolean; associations: []; filteredAssociations: []; receivingAgencyName: string; sharingAgencyName: string; } export interface SharingPermissionsProps { sharingEnabled: boolean; permissions: SharingPermissionProps[]; } export declare const getParentAddress: (nodeAddress: NodeAddress) => { itemIdChain: string[]; elementIdChain: string[]; areaName: string; sectionId?: string; }; //# sourceMappingURL=config.types.d.ts.map