UNPKG

1.25 kBTypeScriptView Raw
1type Platforms = 'android' | 'ios' | 'inherit' | 'none';
2export declare function getOS(): string;
3interface Overrides {
4 os?: string;
5 hash?: string;
6 version?: string;
7}
8interface Other {
9 [key: string]: string;
10}
11export declare const docs: (path: string, platform: Platforms, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
12export declare const contributing: (path: string, platform: Platforms, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
13export declare const community: (path: string, platform: Platforms, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
14export declare const showcase: (path: string, platform: Platforms, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
15export declare const blog: (path: string, platform: Platforms, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
16/**
17 * When the user builds, we should define the target platform globally.
18 */
19export declare function setPlatform(target: Platforms): void;
20/**
21 * Can we figure out what version of react native they're using?
22 */
23export declare function setVersion(reactNativeVersion: string): void;
24export {};
25//# sourceMappingURL=doclink.d.ts.map
\No newline at end of file