38 lines
1.2 KiB
TypeScript
38 lines
1.2 KiB
TypeScript
import { MemoryContext } from './context-stubs';
|
|
export type MockContextConfig = string | string[] | MemoryContext | {
|
|
appDir: string;
|
|
overrides: MemoryContext;
|
|
};
|
|
export declare function getMockConfig(context: MockContextConfig, metaOnly?: boolean): {
|
|
screens: {
|
|
__root: {
|
|
initialRouteName: undefined;
|
|
screens: Record<string, import("../getReactNavigationConfig").Screen>;
|
|
path: string;
|
|
};
|
|
} | {
|
|
__root: {
|
|
initialRouteName: undefined;
|
|
screens: Record<string, import("../getReactNavigationConfig").Screen>;
|
|
path: string;
|
|
};
|
|
} | {
|
|
__root: {
|
|
initialRouteName: undefined;
|
|
screens: Record<string, import("../getReactNavigationConfig").Screen>;
|
|
path: string;
|
|
};
|
|
} | {
|
|
__root: {
|
|
initialRouteName: undefined;
|
|
screens: Record<string, import("../getReactNavigationConfig").Screen>;
|
|
path: string;
|
|
};
|
|
};
|
|
};
|
|
export declare function getMockContext(context: MockContextConfig): ((id: string) => any) & {
|
|
keys: () => string[];
|
|
resolve: (key: string) => string;
|
|
id: string;
|
|
};
|
|
//# sourceMappingURL=mock-config.d.ts.map
|