import { type ResourceViewChartItem, type ResourceViewDashboardItem, type ResourceViewItem, type ResourceViewItemType, type ResourceViewSpaceItem } from './resourceViewItem';
export type PinnedList = {
    pinnedListUuid: string;
    projectUuid: string;
};
export type PinnedItem = {
    pinnedItemUuid: string;
    pinnedListUuid: string;
    savedChartUuid?: string;
    dashboardUuid?: string;
    spaceUuid?: string;
    createdAt: Date;
};
export type PinnedListAndItems = PinnedList & {
    items: PinnedItem[];
};
export type CreateChartPinnedItem = {
    projectUuid: string;
    savedChartUuid: string;
};
export type CreateDashboardPinnedItem = {
    projectUuid: string;
    dashboardUuid: string;
};
export type CreateSpacePinnedItem = {
    projectUuid: string;
    spaceUuid: string;
};
export type DeleteChartPinnedItem = {
    pinnedListUuid: string;
    savedChartUuid: string;
};
export type DeleteDashboardPinnedItem = {
    pinnedListUuid: string;
    dashboardUuid: string;
};
export type DeleteSpacePinnedItem = {
    pinnedListUuid: string;
    spaceUuid: string;
};
export type DeletePinnedItem = DeleteChartPinnedItem | DeleteDashboardPinnedItem | DeleteSpacePinnedItem;
export type CreatePinnedItem = CreateChartPinnedItem | CreateDashboardPinnedItem | CreateSpacePinnedItem;
export type UpdatePinnedItemOrder = {
    type: ResourceViewItemType;
    data: Pick<ResourceViewItem['data'], 'uuid' | 'pinnedListOrder'>;
};
export declare const isCreateChartPinnedItem: (item: CreatePinnedItem) => item is CreateChartPinnedItem;
export declare const isDeleteChartPinnedItem: (item: DeletePinnedItem) => item is DeleteChartPinnedItem;
export declare const isCreateSpacePinnedItem: (item: CreatePinnedItem) => item is CreateSpacePinnedItem;
export declare const isDeleteSpacePinnedItem: (item: DeletePinnedItem) => item is DeleteSpacePinnedItem;
export type ApiPinnedItems = {
    status: 'ok';
    results: PinnedItems;
};
export type PinnedItems = Array<ResourceViewDashboardItem | ResourceViewChartItem | ResourceViewSpaceItem>;
export type TogglePinnedItemInfo = {
    pinnedListUuid: string;
    projectUuid: string;
    spaceUuid: string;
    isPinned: boolean;
};
export type ApiTogglePinnedItem = {
    status: 'ok';
    results: TogglePinnedItemInfo;
};
//# sourceMappingURL=pinning.d.ts.map