import { type KsAppClientData, type KsAppClientDataNoMeta, type RenderDataDemo, type ContentStateForRendering, type DemoWithData } from '@knapsack/types'; export declare function getContentStateFromAppClientData({ patterns, demosById, }: { patterns: KsAppClientDataNoMeta['patternsState']['patterns']; demosById: KsAppClientDataNoMeta['db']['demos']['byId']; }): ContentStateForRendering; /** * What we're going to do here is look at all the slots data and grab * the ACTUAL demo data we have locally here instead of just sending up the * demoId - b/c that could be wrong on the server due to changes that were made * in the UI to that demo that is in a slot for the demo we're currently rendering. * A good example is if the Button was changed and we are now rendering a Card * that uses the Button. */ export declare function inlineDemoData({ demosById, demo, collectionsParentKey, }: { demosById: KsAppClientData['db']['demos']['byId']; demo: Extract; collectionsParentKey: string; }): Extract; //# sourceMappingURL=rendering.d.ts.map