import { PageAttributes, SiteAttributes } from '@upstart.gg/sdk/shared/attributes';
import { Brick, Section } from '@upstart.gg/sdk/shared/bricks';
import { Datarecord } from '@upstart.gg/sdk/shared/datarecords/types';
import { Datasource, Query } from '@upstart.gg/sdk/shared/datasources/types';
import { ImageSearchResultsType } from '@upstart.gg/sdk/shared/images';
import { VersionedPage } from '@upstart.gg/sdk/shared/page';
import { Resolution } from '@upstart.gg/sdk/shared/responsive';
import { Site } from '@upstart.gg/sdk/shared/site';
import { Theme } from '@upstart.gg/sdk/shared/theme';
export type { Immer } from 'immer';
type QueryAlias = string;
export interface DraftStateProps {
    /**
     * Page ID being edited
     */
    data: Record<QueryAlias, Record<string, unknown>[]>;
    site: Site;
    page: VersionedPage;
    previewTheme?: Theme;
    /**
     * Last saved date
     */
    lastSaved?: Date;
    /**
     * True if the draft has unsaved changes
     */
    dirty?: boolean;
    /**
     * Map of brick IDs to their metadata - temporary structure to facilitate dealing with the nested structure
     */
    brickMap: Map<string, {
        brick: Brick;
        sectionId: string;
        parentId: string | null;
    }>;
    additionalAssets: ImageSearchResultsType;
}
export interface DraftState extends DraftStateProps {
    getBrick: (id: string) => Brick | undefined;
    getParentBrick: (id: string) => Brick | undefined;
    deleteBrick: (id: string) => void;
    getPageDataForDuplication: () => VersionedPage;
    duplicateBrick: (id: string) => void;
    duplicateSection: (id: string) => void;
    moveBrick: (id: string, to: "previous" | "next") => void;
    reorderBrickWithin: (brickId: string, toIndex: number) => void;
    moveBrickToContainerBrick: (id: string, parentId: string, index: number) => void;
    moveBrickToSection: (id: string, sectionId: string | null, index?: number) => void;
    detachBrickFromContainer: (id: string) => void;
    upsertQuery: (query: Query) => void;
    addBrick: (brick: Brick, sectiondId: string, index: number, parentContainerId?: Brick["id"] | null) => void;
    updateBrickProps: (id: string, props: Record<string, unknown>, isMobileProps?: boolean) => void;
    toggleBrickVisibility: (id: string, resolution: Resolution) => void;
    setPreviewTheme: (theme: Theme) => void;
    setTheme: (theme: Theme) => void;
    pickTheme: (themeId: Theme["id"]) => void;
    addThemes: (themes: Theme[]) => void;
    validatePreviewTheme: (accept: boolean) => void;
    cancelPreviewTheme: () => void;
    updatePageAttributes: (attr: Partial<PageAttributes>) => void;
    updatePage: (pageData: Partial<VersionedPage>) => void;
    deletePageAttribute: (key: string) => void;
    updateSiteAttributes: (attr: Partial<SiteAttributes>) => void;
    deleteSiteAttribute: (key: string) => void;
    setLastSaved: (date: Date) => void;
    setVersion(version: string): void;
    registerPageInSitemap: (page: VersionedPage) => void;
    addPage: (page: VersionedPage) => void;
    addDatasource: (datasource: Datasource) => void;
    addDatarecord: (datarecord: Datarecord) => void;
    addAdditionalAssets: (assets: ImageSearchResultsType) => void;
    setSitemap(sitemap: Site["sitemap"]): void;
    getPositionWithinParent: (brickId: Brick["id"]) => number | undefined;
    canMoveTo: (brickId: Brick["id"], to: "previous" | "next") => boolean;
    isFirstSection: (sectionId: string) => boolean;
    isLastSection: (sectionId: string) => boolean;
    moveSectionUp: (sectionId: string) => void;
    moveSectionDown: (sectionId: string) => void;
    reorderSections: (orderedIds: string[]) => void;
    createEmptySection: (id: string, afterSectionId?: string) => void;
    addSection: (section: Section) => void;
    updateSection: (id: string, sectionData: Partial<Section>, override?: boolean) => void;
    updateSectionProps: (id: string, props: Partial<Section["props"]>, isMobileProps?: boolean) => void;
    deleteSection: (id: string) => void;
    getSection: (id: string) => Section | undefined;
    setSections: (sections: Section[]) => void;
    setSitePrompt: (prompt: string) => void;
    setSiteLabel: (label: string) => void;
}
export declare const createDraftStore: (initProps: Partial<DraftStateProps> & {
    page: VersionedPage;
    site: DraftStateProps["site"];
}) => Omit<Omit<Omit<import('zustand').StoreApi<DraftState>, "subscribe"> & {
    subscribe: {
        (listener: (selectedState: DraftState, previousSelectedState: DraftState) => void): () => void;
        <U>(selector: (state: DraftState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
            equalityFn?: ((a: U, b: U) => boolean) | undefined;
            fireImmediately?: boolean;
        } | undefined): () => void;
    };
}, "temporal"> & {
    temporal: import('zustand').StoreApi<import('zundo').TemporalState<DraftState>>;
}, "setState"> & {
    setState(nextStateOrUpdater: DraftState | Partial<DraftState> | ((state: import('immer').WritableDraft<DraftState>) => void), shouldReplace?: boolean | undefined): void;
};
export declare const DraftStoreContext: import('react').Context<(Omit<Omit<Omit<import('zustand').StoreApi<DraftState>, "subscribe"> & {
    subscribe: {
        (listener: (selectedState: DraftState, previousSelectedState: DraftState) => void): () => void;
        <U>(selector: (state: DraftState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
            equalityFn?: ((a: U, b: U) => boolean) | undefined;
            fireImmediately?: boolean;
        } | undefined): () => void;
    };
}, "temporal"> & {
    temporal: import('zustand').StoreApi<import('zundo').TemporalState<DraftState>>;
}, "setState"> & {
    setState(nextStateOrUpdater: DraftState | Partial<DraftState> | ((state: import('immer').WritableDraft<DraftState>) => void), shouldReplace?: boolean | undefined): void;
}) | null>;
export declare const usePageContext: () => Omit<Omit<Omit<import('zustand').StoreApi<DraftState>, "subscribe"> & {
    subscribe: {
        (listener: (selectedState: DraftState, previousSelectedState: DraftState) => void): () => void;
        <U>(selector: (state: DraftState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
            equalityFn?: ((a: U, b: U) => boolean) | undefined;
            fireImmediately?: boolean;
        } | undefined): () => void;
    };
}, "temporal"> & {
    temporal: import('zustand').StoreApi<import('zundo').TemporalState<DraftState>>;
}, "setState"> & {
    setState(nextStateOrUpdater: DraftState | Partial<DraftState> | ((state: import('immer').WritableDraft<DraftState>) => void), shouldReplace?: boolean | undefined): void;
};
export declare const useDraftUndoManager: () => import('zundo').TemporalState<DraftState>;
export declare const useSitemap: () => {
    status?: "draft" | "published" | undefined;
    id: string;
    label: string;
    tags: string[];
    path: string;
}[];
export declare const useGenerationState: () => {
    hasSitemap: boolean;
    hasThemesGenerated: boolean;
    isSetup: boolean;
    isReady: boolean;
};
export declare const useThemes: () => {
    id: string;
    name: string;
    description: string;
    tags: string[];
    browserColorScheme: "light" | "dark";
    colors: {
        primary: string;
        secondary: string;
        accent: string;
        neutral: string;
        base100: string;
        base200: string;
        base300: string;
    };
    typography: {
        base: number;
        heading: {
            type: "theme" | "stack" | "google";
            family: string;
        };
        body: {
            type: "theme" | "stack" | "google";
            family: string;
        };
        alternatives: {
            heading: {
                type: "theme" | "stack" | "google";
                family: string;
            };
            body: {
                type: "theme" | "stack" | "google";
                family: string;
            };
        }[];
    };
}[];
export declare const useDraft: () => DraftState;
export declare function useSiteQueries(): {
    sortDirection?: "asc" | "desc" | undefined;
    sortField?: string | undefined;
    filters?: {
        op: "and";
        fields: (/*elided*/ any | {
            op: "or";
            fields: (/*elided*/ any | /*elided*/ any | {
                op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                field: string;
                value: string;
            } | {
                op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                field: string;
                value: number;
            } | {
                op: "after" | "before";
                field: string;
                value: string;
            } | {
                op: "beforeNow" | "afterNow";
                field: string;
                value: null;
            } | {
                op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                field: string;
                value: string[];
            } | {
                op: "eq";
                field: string;
                value: boolean;
            })[];
        } | {
            op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
            field: string;
            value: string;
        } | {
            op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
            field: string;
            value: number;
        } | {
            op: "after" | "before";
            field: string;
            value: string;
        } | {
            op: "beforeNow" | "afterNow";
            field: string;
            value: null;
        } | {
            op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
            field: string;
            value: string[];
        } | {
            op: "eq";
            field: string;
            value: boolean;
        })[];
    } | {
        op: "or";
        fields: ({
            op: "and";
            fields: (/*elided*/ any | /*elided*/ any | {
                op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                field: string;
                value: string;
            } | {
                op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                field: string;
                value: number;
            } | {
                op: "after" | "before";
                field: string;
                value: string;
            } | {
                op: "beforeNow" | "afterNow";
                field: string;
                value: null;
            } | {
                op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                field: string;
                value: string[];
            } | {
                op: "eq";
                field: string;
                value: boolean;
            })[];
        } | /*elided*/ any | {
            op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
            field: string;
            value: string;
        } | {
            op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
            field: string;
            value: number;
        } | {
            op: "after" | "before";
            field: string;
            value: string;
        } | {
            op: "beforeNow" | "afterNow";
            field: string;
            value: null;
        } | {
            op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
            field: string;
            value: string[];
        } | {
            op: "eq";
            field: string;
            value: boolean;
        })[];
    } | undefined;
    parameters?: {
        op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith" | "lt" | "lte" | "gt" | "gte" | "after" | "before" | "beforeNow" | "afterNow" | "containsAll" | "containsAny" | "notContainsAny";
        field: string;
    }[] | undefined;
    id: string;
    label: string;
    datasourceId: string;
    limit: number;
}[];
export declare function useSiteQuery(queryId?: string): {
    sortDirection?: "asc" | "desc" | undefined;
    sortField?: string | undefined;
    filters?: {
        op: "and";
        fields: (/*elided*/ any | {
            op: "or";
            fields: (/*elided*/ any | /*elided*/ any | {
                op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                field: string;
                value: string;
            } | {
                op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                field: string;
                value: number;
            } | {
                op: "after" | "before";
                field: string;
                value: string;
            } | {
                op: "beforeNow" | "afterNow";
                field: string;
                value: null;
            } | {
                op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                field: string;
                value: string[];
            } | {
                op: "eq";
                field: string;
                value: boolean;
            })[];
        } | {
            op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
            field: string;
            value: string;
        } | {
            op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
            field: string;
            value: number;
        } | {
            op: "after" | "before";
            field: string;
            value: string;
        } | {
            op: "beforeNow" | "afterNow";
            field: string;
            value: null;
        } | {
            op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
            field: string;
            value: string[];
        } | {
            op: "eq";
            field: string;
            value: boolean;
        })[];
    } | {
        op: "or";
        fields: ({
            op: "and";
            fields: (/*elided*/ any | /*elided*/ any | {
                op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                field: string;
                value: string;
            } | {
                op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                field: string;
                value: number;
            } | {
                op: "after" | "before";
                field: string;
                value: string;
            } | {
                op: "beforeNow" | "afterNow";
                field: string;
                value: null;
            } | {
                op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                field: string;
                value: string[];
            } | {
                op: "eq";
                field: string;
                value: boolean;
            })[];
        } | /*elided*/ any | {
            op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
            field: string;
            value: string;
        } | {
            op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
            field: string;
            value: number;
        } | {
            op: "after" | "before";
            field: string;
            value: string;
        } | {
            op: "beforeNow" | "afterNow";
            field: string;
            value: null;
        } | {
            op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
            field: string;
            value: string[];
        } | {
            op: "eq";
            field: string;
            value: boolean;
        })[];
    } | undefined;
    parameters?: {
        op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith" | "lt" | "lte" | "gt" | "gte" | "after" | "before" | "beforeNow" | "afterNow" | "containsAll" | "containsAny" | "notContainsAny";
        field: string;
    }[] | undefined;
    id: string;
    label: string;
    datasourceId: string;
    limit: number;
} | null;
export declare function useParentBrick(brickId: string): Brick | undefined;
export declare function usePageVersion(): string;
export declare function useLastSaved(): Date | undefined;
export declare const useSections: () => {
    mobileProps?: {
        backgroundImage?: {
            repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
            size?: "contain" | "auto" | "cover" | undefined;
            image: string;
        } | undefined;
        colorPreset?: {
            gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
            color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
        } | undefined;
        direction?: "flex-row" | "flex-col" | undefined;
        minHeight?: string | undefined;
        variant?: "navbar" | "footer" | "sidebar" | undefined;
        maxWidth?: "max-w-screen-lg" | "max-w-screen-xl" | "max-w-screen-2xl" | "max-w-full" | undefined;
        verticalMargin?: string | undefined;
        justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | undefined;
        alignItems?: "items-start" | "items-center" | "items-end" | "items-stretch" | undefined;
        padding?: string | undefined;
        gap?: string | undefined;
        wrap?: boolean | undefined;
        lastTouched?: number | undefined;
    } | undefined;
    id: string;
    label: string;
    props: {
        backgroundImage?: {
            repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
            size?: "contain" | "auto" | "cover" | undefined;
            image: string;
        } | undefined;
        colorPreset?: {
            gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
            color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
        } | undefined;
        direction?: "flex-row" | "flex-col" | undefined;
        minHeight?: string | undefined;
        variant?: "navbar" | "footer" | "sidebar" | undefined;
        maxWidth?: "max-w-screen-lg" | "max-w-screen-xl" | "max-w-screen-2xl" | "max-w-full" | undefined;
        verticalMargin?: string | undefined;
        justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | undefined;
        alignItems?: "items-start" | "items-center" | "items-end" | "items-stretch" | undefined;
        padding?: string | undefined;
        gap?: string | undefined;
        wrap?: boolean | undefined;
        lastTouched?: number | undefined;
    };
    order: number;
    bricks: {
        label?: string | undefined;
        mobileProps?: any;
        id: string;
        type: string;
        props: any;
    }[];
}[];
export declare const useSection: (sectionId?: string) => {
    section: {
        mobileProps?: {
            backgroundImage?: {
                repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
                size?: "contain" | "auto" | "cover" | undefined;
                image: string;
            } | undefined;
            colorPreset?: {
                gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
                color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
            } | undefined;
            direction?: "flex-row" | "flex-col" | undefined;
            minHeight?: string | undefined;
            variant?: "navbar" | "footer" | "sidebar" | undefined;
            maxWidth?: "max-w-screen-lg" | "max-w-screen-xl" | "max-w-screen-2xl" | "max-w-full" | undefined;
            verticalMargin?: string | undefined;
            justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | undefined;
            alignItems?: "items-start" | "items-center" | "items-end" | "items-stretch" | undefined;
            padding?: string | undefined;
            gap?: string | undefined;
            wrap?: boolean | undefined;
            lastTouched?: number | undefined;
        } | undefined;
        id: string;
        label: string;
        props: {
            backgroundImage?: {
                repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
                size?: "contain" | "auto" | "cover" | undefined;
                image: string;
            } | undefined;
            colorPreset?: {
                gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
                color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
            } | undefined;
            direction?: "flex-row" | "flex-col" | undefined;
            minHeight?: string | undefined;
            variant?: "navbar" | "footer" | "sidebar" | undefined;
            maxWidth?: "max-w-screen-lg" | "max-w-screen-xl" | "max-w-screen-2xl" | "max-w-full" | undefined;
            verticalMargin?: string | undefined;
            justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | undefined;
            alignItems?: "items-start" | "items-center" | "items-end" | "items-stretch" | undefined;
            padding?: string | undefined;
            gap?: string | undefined;
            wrap?: boolean | undefined;
            lastTouched?: number | undefined;
        };
        order: number;
        bricks: {
            label?: string | undefined;
            mobileProps?: any;
            id: string;
            type: string;
            props: any;
        }[];
    };
    bricks: [string, {
        brick: Brick;
        sectionId: string;
        parentId: string | null;
    }][];
} | null;
export declare const useBrick: (brickId?: string) => Brick | null;
export declare const useSectionByBrickId: (brickId: string) => {
    mobileProps?: {
        backgroundImage?: {
            repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
            size?: "contain" | "auto" | "cover" | undefined;
            image: string;
        } | undefined;
        colorPreset?: {
            gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
            color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
        } | undefined;
        direction?: "flex-row" | "flex-col" | undefined;
        minHeight?: string | undefined;
        variant?: "navbar" | "footer" | "sidebar" | undefined;
        maxWidth?: "max-w-screen-lg" | "max-w-screen-xl" | "max-w-screen-2xl" | "max-w-full" | undefined;
        verticalMargin?: string | undefined;
        justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | undefined;
        alignItems?: "items-start" | "items-center" | "items-end" | "items-stretch" | undefined;
        padding?: string | undefined;
        gap?: string | undefined;
        wrap?: boolean | undefined;
        lastTouched?: number | undefined;
    } | undefined;
    id: string;
    label: string;
    props: {
        backgroundImage?: {
            repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
            size?: "contain" | "auto" | "cover" | undefined;
            image: string;
        } | undefined;
        colorPreset?: {
            gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
            color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
        } | undefined;
        direction?: "flex-row" | "flex-col" | undefined;
        minHeight?: string | undefined;
        variant?: "navbar" | "footer" | "sidebar" | undefined;
        maxWidth?: "max-w-screen-lg" | "max-w-screen-xl" | "max-w-screen-2xl" | "max-w-full" | undefined;
        verticalMargin?: string | undefined;
        justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | undefined;
        alignItems?: "items-start" | "items-center" | "items-end" | "items-stretch" | undefined;
        padding?: string | undefined;
        gap?: string | undefined;
        wrap?: boolean | undefined;
        lastTouched?: number | undefined;
    };
    order: number;
    bricks: {
        label?: string | undefined;
        mobileProps?: any;
        id: string;
        type: string;
        props: any;
    }[];
} | undefined;
export declare const usePageAttributes: () => {
    backgroundImage?: {
        repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
        size?: "contain" | "auto" | "cover" | undefined;
        image: string;
    } | undefined;
    colorPreset?: {
        gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
        color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
    } | undefined;
    ogImage?: {
        alt?: string | undefined;
        aspectRatio?: "auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "2:3" | "3:2" | "5:4" | "4:5" | "21:9" | "9:21" | "original" | undefined;
        fit?: "object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down" | undefined;
        position?: "object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-top-left" | "object-top-right" | "object-bottom-left" | "object-bottom-right" | undefined;
        src: string;
    } | undefined;
    robotsIndexing?: boolean | undefined;
    language?: "ar" | "zh" | "cs" | "nl" | "en" | "fr" | "de" | "he" | "hi" | "it" | "ja" | "ko" | "fa" | "pl" | "pt" | "ru" | "es" | "tr" | "vi" | undefined;
    additionalTags?: {
        headTags?: string | undefined;
        bodyTags?: string | undefined;
    } | undefined;
    noNavbar?: boolean | undefined;
    noFooter?: boolean | undefined;
    description: string;
    tags: string[];
    path: string;
    queries: {
        params?: ({
            op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
            field: string;
            value: string;
        } | {
            op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
            field: string;
            value: number;
        } | {
            op: "after" | "before";
            field: string;
            value: string;
        } | {
            op: "beforeNow" | "afterNow";
            field: string;
            value: null;
        } | {
            op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
            field: string;
            value: string[];
        } | {
            op: "eq";
            field: string;
            value: boolean;
        })[] | undefined;
        queryId: string;
        alias: string;
    }[];
    title: string;
    keywords: string;
};
export declare const useSiteAttributes: () => {
    backgroundImage?: {
        repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
        size?: "contain" | "auto" | "cover" | undefined;
        image: string;
    } | undefined;
    colorPreset?: {
        gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
        color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
    } | undefined;
    queries?: {
        sortDirection?: "asc" | "desc" | undefined;
        sortField?: string | undefined;
        filters?: {
            op: "and";
            fields: (/*elided*/ any | {
                op: "or";
                fields: (/*elided*/ any | /*elided*/ any | {
                    op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                    field: string;
                    value: string;
                } | {
                    op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                    field: string;
                    value: number;
                } | {
                    op: "after" | "before";
                    field: string;
                    value: string;
                } | {
                    op: "beforeNow" | "afterNow";
                    field: string;
                    value: null;
                } | {
                    op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                    field: string;
                    value: string[];
                } | {
                    op: "eq";
                    field: string;
                    value: boolean;
                })[];
            } | {
                op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                field: string;
                value: string;
            } | {
                op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                field: string;
                value: number;
            } | {
                op: "after" | "before";
                field: string;
                value: string;
            } | {
                op: "beforeNow" | "afterNow";
                field: string;
                value: null;
            } | {
                op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                field: string;
                value: string[];
            } | {
                op: "eq";
                field: string;
                value: boolean;
            })[];
        } | {
            op: "or";
            fields: ({
                op: "and";
                fields: (/*elided*/ any | /*elided*/ any | {
                    op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                    field: string;
                    value: string;
                } | {
                    op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                    field: string;
                    value: number;
                } | {
                    op: "after" | "before";
                    field: string;
                    value: string;
                } | {
                    op: "beforeNow" | "afterNow";
                    field: string;
                    value: null;
                } | {
                    op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                    field: string;
                    value: string[];
                } | {
                    op: "eq";
                    field: string;
                    value: boolean;
                })[];
            } | /*elided*/ any | {
                op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                field: string;
                value: string;
            } | {
                op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                field: string;
                value: number;
            } | {
                op: "after" | "before";
                field: string;
                value: string;
            } | {
                op: "beforeNow" | "afterNow";
                field: string;
                value: null;
            } | {
                op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                field: string;
                value: string[];
            } | {
                op: "eq";
                field: string;
                value: boolean;
            })[];
        } | undefined;
        parameters?: {
            op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith" | "lt" | "lte" | "gt" | "gte" | "after" | "before" | "beforeNow" | "afterNow" | "containsAll" | "containsAny" | "notContainsAny";
            field: string;
        }[] | undefined;
        id: string;
        label: string;
        datasourceId: string;
        limit: number;
    }[] | undefined;
    ogImage?: {
        alt?: string | undefined;
        aspectRatio?: "auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "2:3" | "3:2" | "5:4" | "4:5" | "21:9" | "9:21" | "original" | undefined;
        fit?: "object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down" | undefined;
        position?: "object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-top-left" | "object-top-right" | "object-bottom-left" | "object-bottom-right" | undefined;
        src: string;
    } | undefined;
    robotsIndexing?: boolean | undefined;
    navbar?: {
        colorPreset?: {
            gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
            color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
        } | undefined;
        lastTouched?: number | undefined;
        hidden?: {
            desktop?: boolean | undefined;
            mobile?: boolean | undefined;
        } | undefined;
        editable?: boolean | undefined;
        width?: string | undefined;
        height?: string | undefined;
        grow?: boolean | undefined;
        alignSelf?: "self-auto" | "self-start" | "self-center" | "self-end" | "self-stretch" | undefined;
        shadow?: "shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl" | undefined;
        brand?: string | undefined;
        logo?: {
            alt?: string | undefined;
            aspectRatio?: "auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "2:3" | "3:2" | "5:4" | "4:5" | "21:9" | "9:21" | "original" | undefined;
            fit?: "object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down" | undefined;
            position?: "object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-top-left" | "object-top-right" | "object-bottom-left" | "object-bottom-right" | undefined;
            src: string;
        } | undefined;
        hideBrand?: boolean | undefined;
        linksTagsFilter?: string[] | undefined;
        staticNavItems?: {
            label?: string | undefined;
            urlOrPageId: string;
        }[] | undefined;
        linksPosition?: "left" | "right" | "center" | undefined;
    } | undefined;
    footer?: {
        colorPreset?: {
            gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
            color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
        } | undefined;
        padding?: string | undefined;
        lastTouched?: number | undefined;
        hidden?: {
            desktop?: boolean | undefined;
            mobile?: boolean | undefined;
        } | undefined;
        editable?: boolean | undefined;
        width?: string | undefined;
        height?: string | undefined;
        grow?: boolean | undefined;
        alignSelf?: "self-auto" | "self-start" | "self-center" | "self-end" | "self-stretch" | undefined;
        logo?: {
            alt?: string | undefined;
            aspectRatio?: "auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "2:3" | "3:2" | "5:4" | "4:5" | "21:9" | "9:21" | "original" | undefined;
            fit?: "object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down" | undefined;
            position?: "object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-top-left" | "object-top-right" | "object-bottom-left" | "object-bottom-right" | undefined;
            src: string;
        } | undefined;
        fontSize?: "inherit" | "text-xs" | "text-sm" | "text-base" | "text-lg" | "text-xl" | undefined;
        linksSections: {
            sectionTitle: string;
            links: {
                title: string;
                url: string;
            }[];
        }[];
    } | undefined;
    headTags?: string | undefined;
    bodyTags?: string | undefined;
    language: "ar" | "zh" | "cs" | "nl" | "en" | "fr" | "de" | "he" | "hi" | "it" | "ja" | "ko" | "fa" | "pl" | "pt" | "ru" | "es" | "tr" | "vi";
};
/**
 * return all available data
 */
export declare const useData: (editable?: boolean) => Record<string, Record<string, unknown>[]>;
export declare const useLoopedQuery: (loopAlias?: string) => {
    queryInfo: {
        sortDirection?: "asc" | "desc" | undefined;
        sortField?: string | undefined;
        filters?: {
            op: "and";
            fields: (/*elided*/ any | {
                op: "or";
                fields: (/*elided*/ any | /*elided*/ any | {
                    op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                    field: string;
                    value: string;
                } | {
                    op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                    field: string;
                    value: number;
                } | {
                    op: "after" | "before";
                    field: string;
                    value: string;
                } | {
                    op: "beforeNow" | "afterNow";
                    field: string;
                    value: null;
                } | {
                    op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                    field: string;
                    value: string[];
                } | {
                    op: "eq";
                    field: string;
                    value: boolean;
                })[];
            } | {
                op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                field: string;
                value: string;
            } | {
                op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                field: string;
                value: number;
            } | {
                op: "after" | "before";
                field: string;
                value: string;
            } | {
                op: "beforeNow" | "afterNow";
                field: string;
                value: null;
            } | {
                op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                field: string;
                value: string[];
            } | {
                op: "eq";
                field: string;
                value: boolean;
            })[];
        } | {
            op: "or";
            fields: ({
                op: "and";
                fields: (/*elided*/ any | /*elided*/ any | {
                    op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                    field: string;
                    value: string;
                } | {
                    op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                    field: string;
                    value: number;
                } | {
                    op: "after" | "before";
                    field: string;
                    value: string;
                } | {
                    op: "beforeNow" | "afterNow";
                    field: string;
                    value: null;
                } | {
                    op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                    field: string;
                    value: string[];
                } | {
                    op: "eq";
                    field: string;
                    value: boolean;
                })[];
            } | /*elided*/ any | {
                op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                field: string;
                value: string;
            } | {
                op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                field: string;
                value: number;
            } | {
                op: "after" | "before";
                field: string;
                value: string;
            } | {
                op: "beforeNow" | "afterNow";
                field: string;
                value: null;
            } | {
                op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                field: string;
                value: string[];
            } | {
                op: "eq";
                field: string;
                value: boolean;
            })[];
        } | undefined;
        parameters?: {
            op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith" | "lt" | "lte" | "gt" | "gte" | "after" | "before" | "beforeNow" | "afterNow" | "containsAll" | "containsAny" | "notContainsAny";
            field: string;
        }[] | undefined;
        id: string;
        label: string;
        datasourceId: string;
        limit: number;
    };
    datasource: {
        id: string;
        label: string;
        provider: "internal";
        schema: any;
        indexes: {
            unique?: boolean | undefined;
            name: string;
            fields: string[];
        }[];
    };
    params?: ({
        op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
        field: string;
        value: string;
    } | {
        op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
        field: string;
        value: number;
    } | {
        op: "after" | "before";
        field: string;
        value: string;
    } | {
        op: "beforeNow" | "afterNow";
        field: string;
        value: null;
    } | {
        op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
        field: string;
        value: string[];
    } | {
        op: "eq";
        field: string;
        value: boolean;
    })[] | undefined;
    queryId: string;
    alias: string;
} | null;
/**
 * If the brick is looping or one of its parent is looping, this hook will return the query alias used to loop on.
 * Otherwise, it will return null.
 */
export declare function useLoopAlias(brickId: string): string | null;
export declare const usePageQueries: () => {
    queryInfo: {
        sortDirection?: "asc" | "desc" | undefined;
        sortField?: string | undefined;
        filters?: {
            op: "and";
            fields: (/*elided*/ any | {
                op: "or";
                fields: (/*elided*/ any | /*elided*/ any | {
                    op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                    field: string;
                    value: string;
                } | {
                    op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                    field: string;
                    value: number;
                } | {
                    op: "after" | "before";
                    field: string;
                    value: string;
                } | {
                    op: "beforeNow" | "afterNow";
                    field: string;
                    value: null;
                } | {
                    op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                    field: string;
                    value: string[];
                } | {
                    op: "eq";
                    field: string;
                    value: boolean;
                })[];
            } | {
                op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                field: string;
                value: string;
            } | {
                op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                field: string;
                value: number;
            } | {
                op: "after" | "before";
                field: string;
                value: string;
            } | {
                op: "beforeNow" | "afterNow";
                field: string;
                value: null;
            } | {
                op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                field: string;
                value: string[];
            } | {
                op: "eq";
                field: string;
                value: boolean;
            })[];
        } | {
            op: "or";
            fields: ({
                op: "and";
                fields: (/*elided*/ any | /*elided*/ any | {
                    op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                    field: string;
                    value: string;
                } | {
                    op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                    field: string;
                    value: number;
                } | {
                    op: "after" | "before";
                    field: string;
                    value: string;
                } | {
                    op: "beforeNow" | "afterNow";
                    field: string;
                    value: null;
                } | {
                    op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                    field: string;
                    value: string[];
                } | {
                    op: "eq";
                    field: string;
                    value: boolean;
                })[];
            } | /*elided*/ any | {
                op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                field: string;
                value: string;
            } | {
                op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                field: string;
                value: number;
            } | {
                op: "after" | "before";
                field: string;
                value: string;
            } | {
                op: "beforeNow" | "afterNow";
                field: string;
                value: null;
            } | {
                op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                field: string;
                value: string[];
            } | {
                op: "eq";
                field: string;
                value: boolean;
            })[];
        } | undefined;
        parameters?: {
            op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith" | "lt" | "lte" | "gt" | "gte" | "after" | "before" | "beforeNow" | "afterNow" | "containsAll" | "containsAny" | "notContainsAny";
            field: string;
        }[] | undefined;
        id: string;
        label: string;
        datasourceId: string;
        limit: number;
    };
    datasource: {
        id: string;
        label: string;
        provider: "internal";
        schema: any;
        indexes: {
            unique?: boolean | undefined;
            name: string;
            fields: string[];
        }[];
    };
    params?: ({
        op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
        field: string;
        value: string;
    } | {
        op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
        field: string;
        value: number;
    } | {
        op: "after" | "before";
        field: string;
        value: string;
    } | {
        op: "beforeNow" | "afterNow";
        field: string;
        value: null;
    } | {
        op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
        field: string;
        value: string[];
    } | {
        op: "eq";
        field: string;
        value: boolean;
    })[] | undefined;
    queryId: string;
    alias: string;
}[];
export declare const useDraftHelpers: () => {
    addAdditionalAssets: (assets: ImageSearchResultsType) => void;
    deleteBrick: (id: string) => void;
    detachBrickFromContainer: (id: string) => void;
    updateSiteAttributes: (attr: Partial<SiteAttributes>) => void;
    updatePageAttributes: (attr: Partial<PageAttributes>) => void;
    updatePage: (pageData: Partial<VersionedPage>) => void;
    upsertQuery: (query: Query) => void;
    setSections: (sections: Section[]) => void;
    addThemes: (themes: Theme[]) => void;
    setTheme: (theme: Theme) => void;
    pickTheme: (themeId: Theme["id"]) => void;
    setSitemap: (sitemap: Site["sitemap"]) => void;
    addPage: (page: VersionedPage) => void;
    registerPageInSitemap: (page: VersionedPage) => void;
    addDatasource: (datasource: Datasource) => void;
    addDatarecord: (datarecord: Datarecord) => void;
    duplicateBrick: (id: string) => void;
    addBrick: (brick: Brick, sectiondId: string, index: number, parentContainerId?: Brick["id"] | null) => void;
    getBrick: (id: string) => Brick | undefined;
    validatePreviewTheme: (accept: boolean) => void;
    duplicateSection: (id: string) => void;
    toggleBrickVisibilityPerBreakpoint: (id: string, resolution: Resolution) => void;
    getParentBrick: (id: string) => Brick | undefined;
    updateBrickProps: (id: string, props: Record<string, unknown>, isMobileProps?: boolean) => void;
    moveBrick: (id: string, to: "previous" | "next") => void;
    reorderBrickWithin: (brickId: string, toIndex: number) => void;
    getPositionWithinParent: (brickId: Brick["id"]) => number | undefined;
    canMoveTo: (brickId: Brick["id"], to: "previous" | "next") => boolean;
    moveBrickToContainerBrick: (id: string, parentId: string, index: number) => void;
    moveBrickToSection: (id: string, sectionId: string | null, index?: number) => void;
    deleteSection: (id: string) => void;
    moveSectionUp: (sectionId: string) => void;
    moveSectionDown: (sectionId: string) => void;
    reorderSections: (orderedIds: string[]) => void;
    updateSection: (id: string, sectionData: Partial<Section>, override?: boolean) => void;
    updateSectionProps: (id: string, props: Partial<Section["props"]>, isMobileProps?: boolean) => void;
    addSection: (section: Section) => void;
    createEmptySection: (id: string, afterSectionId?: string) => void;
    isFirstSection: (sectionId: string) => boolean;
    isLastSection: (sectionId: string) => boolean;
    setSitePrompt: (prompt: string) => void;
    setSiteLabel: (label: string) => void;
};
export declare const usePage: () => {
    id: string;
    label: string;
    attributes: {
        backgroundImage?: {
            repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
            size?: "contain" | "auto" | "cover" | undefined;
            image: string;
        } | undefined;
        colorPreset?: {
            gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
            color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
        } | undefined;
        ogImage?: {
            alt?: string | undefined;
            aspectRatio?: "auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "2:3" | "3:2" | "5:4" | "4:5" | "21:9" | "9:21" | "original" | undefined;
            fit?: "object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down" | undefined;
            position?: "object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-top-left" | "object-top-right" | "object-bottom-left" | "object-bottom-right" | undefined;
            src: string;
        } | undefined;
        robotsIndexing?: boolean | undefined;
        language?: "ar" | "zh" | "cs" | "nl" | "en" | "fr" | "de" | "he" | "hi" | "it" | "ja" | "ko" | "fa" | "pl" | "pt" | "ru" | "es" | "tr" | "vi" | undefined;
        additionalTags?: {
            headTags?: string | undefined;
            bodyTags?: string | undefined;
        } | undefined;
        noNavbar?: boolean | undefined;
        noFooter?: boolean | undefined;
        description: string;
        tags: string[];
        path: string;
        queries: {
            params?: ({
                op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                field: string;
                value: string;
            } | {
                op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                field: string;
                value: number;
            } | {
                op: "after" | "before";
                field: string;
                value: string;
            } | {
                op: "beforeNow" | "afterNow";
                field: string;
                value: null;
            } | {
                op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                field: string;
                value: string[];
            } | {
                op: "eq";
                field: string;
                value: boolean;
            })[] | undefined;
            queryId: string;
            alias: string;
        }[];
        title: string;
        keywords: string;
    };
    sections: {
        mobileProps?: {
            backgroundImage?: {
                repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
                size?: "contain" | "auto" | "cover" | undefined;
                image: string;
            } | undefined;
            colorPreset?: {
                gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
                color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
            } | undefined;
            direction?: "flex-row" | "flex-col" | undefined;
            minHeight?: string | undefined;
            variant?: "navbar" | "footer" | "sidebar" | undefined;
            maxWidth?: "max-w-screen-lg" | "max-w-screen-xl" | "max-w-screen-2xl" | "max-w-full" | undefined;
            verticalMargin?: string | undefined;
            justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | undefined;
            alignItems?: "items-start" | "items-center" | "items-end" | "items-stretch" | undefined;
            padding?: string | undefined;
            gap?: string | undefined;
            wrap?: boolean | undefined;
            lastTouched?: number | undefined;
        } | undefined;
        id: string;
        label: string;
        props: {
            backgroundImage?: {
                repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
                size?: "contain" | "auto" | "cover" | undefined;
                image: string;
            } | undefined;
            colorPreset?: {
                gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
                color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
            } | undefined;
            direction?: "flex-row" | "flex-col" | undefined;
            minHeight?: string | undefined;
            variant?: "navbar" | "footer" | "sidebar" | undefined;
            maxWidth?: "max-w-screen-lg" | "max-w-screen-xl" | "max-w-screen-2xl" | "max-w-full" | undefined;
            verticalMargin?: string | undefined;
            justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | undefined;
            alignItems?: "items-start" | "items-center" | "items-end" | "items-stretch" | undefined;
            padding?: string | undefined;
            gap?: string | undefined;
            wrap?: boolean | undefined;
            lastTouched?: number | undefined;
        };
        order: number;
        bricks: {
            label?: string | undefined;
            mobileProps?: any;
            id: string;
            type: string;
            props: any;
        }[];
    }[];
    version: string;
};
export declare const useSite: () => {
    id: string;
    label: string;
    hostname: string;
    attributes: {
        backgroundImage?: {
            repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
            size?: "contain" | "auto" | "cover" | undefined;
            image: string;
        } | undefined;
        colorPreset?: {
            gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
            color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
        } | undefined;
        queries?: {
            sortDirection?: "asc" | "desc" | undefined;
            sortField?: string | undefined;
            filters?: {
                op: "and";
                fields: (/*elided*/ any | {
                    op: "or";
                    fields: (/*elided*/ any | /*elided*/ any | {
                        op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                        field: string;
                        value: string;
                    } | {
                        op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                        field: string;
                        value: number;
                    } | {
                        op: "after" | "before";
                        field: string;
                        value: string;
                    } | {
                        op: "beforeNow" | "afterNow";
                        field: string;
                        value: null;
                    } | {
                        op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                        field: string;
                        value: string[];
                    } | {
                        op: "eq";
                        field: string;
                        value: boolean;
                    })[];
                } | {
                    op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                    field: string;
                    value: string;
                } | {
                    op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                    field: string;
                    value: number;
                } | {
                    op: "after" | "before";
                    field: string;
                    value: string;
                } | {
                    op: "beforeNow" | "afterNow";
                    field: string;
                    value: null;
                } | {
                    op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                    field: string;
                    value: string[];
                } | {
                    op: "eq";
                    field: string;
                    value: boolean;
                })[];
            } | {
                op: "or";
                fields: ({
                    op: "and";
                    fields: (/*elided*/ any | /*elided*/ any | {
                        op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                        field: string;
                        value: string;
                    } | {
                        op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                        field: string;
                        value: number;
                    } | {
                        op: "after" | "before";
                        field: string;
                        value: string;
                    } | {
                        op: "beforeNow" | "afterNow";
                        field: string;
                        value: null;
                    } | {
                        op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                        field: string;
                        value: string[];
                    } | {
                        op: "eq";
                        field: string;
                        value: boolean;
                    })[];
                } | /*elided*/ any | {
                    op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith";
                    field: string;
                    value: string;
                } | {
                    op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte";
                    field: string;
                    value: number;
                } | {
                    op: "after" | "before";
                    field: string;
                    value: string;
                } | {
                    op: "beforeNow" | "afterNow";
                    field: string;
                    value: null;
                } | {
                    op: "contains" | "notContains" | "containsAll" | "containsAny" | "notContainsAny";
                    field: string;
                    value: string[];
                } | {
                    op: "eq";
                    field: string;
                    value: boolean;
                })[];
            } | undefined;
            parameters?: {
                op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "notContains" | "notStartsWith" | "notEndsWith" | "lt" | "lte" | "gt" | "gte" | "after" | "before" | "beforeNow" | "afterNow" | "containsAll" | "containsAny" | "notContainsAny";
                field: string;
            }[] | undefined;
            id: string;
            label: string;
            datasourceId: string;
            limit: number;
        }[] | undefined;
        ogImage?: {
            alt?: string | undefined;
            aspectRatio?: "auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "2:3" | "3:2" | "5:4" | "4:5" | "21:9" | "9:21" | "original" | undefined;
            fit?: "object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down" | undefined;
            position?: "object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-top-left" | "object-top-right" | "object-bottom-left" | "object-bottom-right" | undefined;
            src: string;
        } | undefined;
        robotsIndexing?: boolean | undefined;
        navbar?: {
            colorPreset?: {
                gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
                color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
            } | undefined;
            lastTouched?: number | undefined;
            hidden?: {
                desktop?: boolean | undefined;
                mobile?: boolean | undefined;
            } | undefined;
            editable?: boolean | undefined;
            width?: string | undefined;
            height?: string | undefined;
            grow?: boolean | undefined;
            alignSelf?: "self-auto" | "self-start" | "self-center" | "self-end" | "self-stretch" | undefined;
            shadow?: "shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl" | undefined;
            brand?: string | undefined;
            logo?: {
                alt?: string | undefined;
                aspectRatio?: "auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "2:3" | "3:2" | "5:4" | "4:5" | "21:9" | "9:21" | "original" | undefined;
                fit?: "object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down" | undefined;
                position?: "object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-top-left" | "object-top-right" | "object-bottom-left" | "object-bottom-right" | undefined;
                src: string;
            } | undefined;
            hideBrand?: boolean | undefined;
            linksTagsFilter?: string[] | undefined;
            staticNavItems?: {
                label?: string | undefined;
                urlOrPageId: string;
            }[] | undefined;
            linksPosition?: "left" | "right" | "center" | undefined;
        } | undefined;
        footer?: {
            colorPreset?: {
                gradientDirection?: "bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl" | undefined;
                color: "none" | "primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200";
            } | undefined;
            padding?: string | undefined;
            lastTouched?: number | undefined;
            hidden?: {
                desktop?: boolean | undefined;
                mobile?: boolean | undefined;
            } | undefined;
            editable?: boolean | undefined;
            width?: string | undefined;
            height?: string | undefined;
            grow?: boolean | undefined;
            alignSelf?: "self-auto" | "self-start" | "self-center" | "self-end" | "self-stretch" | undefined;
            logo?: {
                alt?: string | undefined;
                aspectRatio?: "auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "2:3" | "3:2" | "5:4" | "4:5" | "21:9" | "9:21" | "original" | undefined;
                fit?: "object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down" | undefined;
                position?: "object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-top-left" | "object-top-right" | "object-bottom-left" | "object-bottom-right" | undefined;
                src: string;
            } | undefined;
            fontSize?: "inherit" | "text-xs" | "text-sm" | "text-base" | "text-lg" | "text-xl" | undefined;
            linksSections: {
                sectionTitle: string;
                links: {
                    title: string;
                    url: string;
                }[];
            }[];
        } | undefined;
        headTags?: string | undefined;
        bodyTags?: string | undefined;
        language: "ar" | "zh" | "cs" | "nl" | "en" | "fr" | "de" | "he" | "hi" | "it" | "ja" | "ko" | "fa" | "pl" | "pt" | "ru" | "es" | "tr" | "vi";
    };
    datasources: {
        id: string;
        label: string;
        provider: "internal";
        schema: any;
        indexes: {
            unique?: boolean | undefined;
            name: string;
            fields: string[];
        }[];
    }[];
    datarecords: {
        description?: string | undefined;
        id: string;
        label: string;
        provider: "internal" | "notion" | "google-sheets" | "airtable";
        schema: any;
    }[];
    themes: {
        id: string;
        name: string;
        description: string;
        tags: string[];
        browserColorScheme: "light" | "dark";
        colors: {
            primary: string;
            secondary: string;
            accent: string;
            neutral: string;
            base100: string;
            base200: string;
            base300: string;
        };
        typography: {
            base: number;
            heading: {
                type: "theme" | "stack" | "google";
                family: string;
            };
            body: {
                type: "theme" | "stack" | "google";
                family: string;
            };
            alternatives: {
                heading: {
                    type: "theme" | "stack" | "google";
                    family: string;
                };
                body: {
                    type: "theme" | "stack" | "google";
                    family: string;
                };
            }[];
        };
    }[];
    theme: {
        id: string;
        name: string;
        description: string;
        tags: string[];
        browserColorScheme: "light" | "dark";
        colors: {
            primary: string;
            secondary: string;
            accent: string;
            neutral: string;
            base100: string;
            base200: string;
            base300: string;
        };
        typography: {
            base: number;
            heading: {
                type: "theme" | "stack" | "google";
                family: string;
            };
            body: {
                type: "theme" | "stack" | "google";
                family: string;
            };
            alternatives: {
                heading: {
                    type: "theme" | "stack" | "google";
                    family: string;
                };
                body: {
                    type: "theme" | "stack" | "google";
                    family: string;
                };
            }[];
        };
    };
    sitemap: {
        status?: "draft" | "published" | undefined;
        id: string;
        label: string;
        tags: string[];
        path: string;
    }[];
    sitePrompt: string;
};
export declare const useTheme: () => {
    id: string;
    name: string;
    description: string;
    tags: string[];
    browserColorScheme: "light" | "dark";
    colors: {
        primary: string;
        secondary: string;
        accent: string;
        neutral: string;
        base100: string;
        base200: string;
        base300: string;
    };
    typography: {
        base: number;
        heading: {
            type: "theme" | "stack" | "google";
            family: string;
        };
        body: {
            type: "theme" | "stack" | "google";
            family: string;
        };
        alternatives: {
            heading: {
                type: "theme" | "stack" | "google";
                family: string;
            };
            body: {
                type: "theme" | "stack" | "google";
                family: string;
            };
        }[];
    };
};
export declare const usePreviewTheme: () => {
    id: string;
    name: string;
    description: string;
    tags: string[];
    browserColorScheme: "light" | "dark";
    colors: {
        primary: string;
        secondary: string;
        accent: string;
        neutral: string;
        base100: string;
        base200: string;
        base300: string;
    };
    typography: {
        base: number;
        heading: {
            type: "theme" | "stack" | "google";
            family: string;
        };
        body: {
            type: "theme" | "stack" | "google";
            family: string;
        };
        alternatives: {
            heading: {
                type: "theme" | "stack" | "google";
                family: string;
            };
            body: {
                type: "theme" | "stack" | "google";
                family: string;
            };
        }[];
    };
} | undefined;
export declare const useSectionsSubscribe: (callback: (sections: DraftState["page"]["sections"]) => void) => void;
export declare const usePageLabelSubscribe: (callback: (label: DraftState["page"]["label"]) => void) => void;
export declare const useSiteLabelSubscribe: (callback: (label: DraftState["site"]["label"]) => void) => void;
export declare function useDatasourcesSubscribe(callback: (datasources: DraftState["site"]["datasources"]) => void): void;
export declare function useDatarecordsSubscribe(callback: (datarecords: DraftState["site"]["datarecords"]) => void): void;
export declare const usePageAttributesSubscribe: (callback: (attr: DraftState["page"]["attributes"]) => void) => void;
export declare const useSiteAttributesSubscribe: (callback: (attr: DraftState["site"]["attributes"]) => void) => void;
export declare const useSitemapSubscribe: (callback: (sitemap: DraftState["site"]["sitemap"]) => void) => void;
export declare const useThemeSubscribe: (callback: (theme: DraftState["site"]["theme"]) => void) => void;
export declare const useThemesSubscribe: (callback: (themes: DraftState["site"]["themes"]) => void) => void;
export declare const usePagePathParams: () => string[];
export declare const useAdditionalAssets: () => {
    blurHash?: string | undefined;
    author?: {
        name: string;
        profileUrl: string;
    } | undefined;
    description: string;
    provider: string;
    url: string;
}[];
export declare const useSitePrompt: () => string;
